update alert

This commit is contained in:
2023-12-24 00:00:00 +08:00
parent 1305e62277
commit 8419a18b22
12 changed files with 1221 additions and 1092 deletions

View File

@@ -33,7 +33,7 @@ import {
useMessage,
useNotification,
} from 'naive-ui'
import { computed, h, ref } from 'vue'
import { computed, h, onUnmounted, ref } from 'vue'
import VueTurnstile from 'vue-turnstile'
interface TempLotteryResponseModel {
@@ -310,6 +310,10 @@ function getLevelColor(level: number) {
}
}
}
onUnmounted(() => {
turnstile.value?.remove()
})
</script>
<template>