功能:完善门店能力与用户安全配置
This commit is contained in:
@@ -13,13 +13,19 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
/**
|
||||
* NotFoundView page script.
|
||||
* Call guide: the template binds the reactive state below, and the methods are triggered by button clicks, lifecycle hooks, or router events.
|
||||
*/
|
||||
import { ref, onMounted, onUnmounted } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
const router = useRouter()
|
||||
/** countdown is a reactive state variable used by the template and event handlers. */
|
||||
const countdown = ref(5)
|
||||
let timer: number | null = null
|
||||
|
||||
/** redirectToHome is a local helper used by this page script. */
|
||||
const redirectToHome = () => {
|
||||
if (timer) {
|
||||
clearInterval(timer)
|
||||
|
||||
Reference in New Issue
Block a user