pref: reGetLoli

This commit is contained in:
KUN1007 2023-11-21 22:12:35 +08:00
parent cfe7b552a7
commit abae3f0344

View file

@ -25,6 +25,9 @@ const loliData = ref({
const isShowLoading = ref(false) const isShowLoading = ref(false)
const reGetLoli = async () => { const reGetLoli = async () => {
if (isShowLoading.value) {
return
}
isShowLoading.value = true isShowLoading.value = true
loliData.value = await useLoliDataURL() loliData.value = await useLoliDataURL()
isShowLoading.value = false isShowLoading.value = false