Commit 016fbcfe by yancanhua

fix: 页面优化

1 parent 68f9266e
......@@ -10,6 +10,9 @@
<router-view v-if="!$route.meta.keepAlive"></router-view>
</transition>
</template>
<template v-else>
<div style="text-align: center;font-size: 14px;height: 48px;line-height: 48px;">{{windowTitle}}</div>
</template>
</div>
</template>
<script>
......@@ -17,7 +20,8 @@ export default {
name: 'App',
data() {
return {
showWindow: false
showWindow: false,
windowTitle: ''
}
},
watch: {
......@@ -34,10 +38,15 @@ export default {
return this.$store.state.app.showWindow
}
},
mounted() {},
mounted() {
const that = this
setTimeout(() => {
that.windowTitle = '无权限访问'
}, 2000);
},
methods: {}
}
</script>
<style lang="scss" scoped>
</style>
\ No newline at end of file
<style lang="scss" scoped></style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!