pref: reGetLoli
This commit is contained in:
parent
cfe7b552a7
commit
abae3f0344
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue