This commit is contained in:
2022-12-28 10:08:51 +08:00
parent 0fa93d545e
commit 3881370b6e
151 changed files with 17044 additions and 0 deletions

23
im/src/App.vue Normal file
View File

@@ -0,0 +1,23 @@
<template>
<div id="app">
<router-view v-if="showView" />
</div>
</template>
<script>
export default {
name: 'App',
data() {
return {
// 用于点击当前页的router时刷新当前页
showView: true,
}
},
methods: {
// 刷新当前路由方法
refreshView() {
this.showView = false
this.$nextTick(() => (this.showView = true))
},
},
}
</script>