This commit is contained in:
2026-02-23 16:28:39 +08:00
parent 94c0476207
commit 49fb91d95a
7 changed files with 22 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
<template>
<!-- <RouteCache /> -->
<router-view v-if="show"></router-view>
<router-view></router-view>
<div id="loading" v-if="loading" v-loading="true"></div>
</template>
@@ -22,19 +22,15 @@
window['onClickRegister'] = () => {
router.push({ name: 'register' })
}
const show = ref(true)
provide('reload', () => {
show.value = false
nextTick(() => {
show.value = true
})
})
</script>
<style lang="less">
#app {
font-size: 1.6rem;
}
.el-message{
font-size: 1.6rem;
}
#loading {
position: fixed;
z-index: 999999999;