diff options
Diffstat (limited to 'src-vue/src')
-rw-r--r-- | src-vue/src/App.vue | 7 | ||||
-rw-r--r-- | src-vue/src/main.ts | 1 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue index 45329fc1..fd716364 100644 --- a/src-vue/src/App.vue +++ b/src-vue/src/App.vue @@ -33,10 +33,7 @@ export default { }, close() { appWindow.close() - }, - handleSelect(key: string, keyPath: string[]) { - this.$router.push({path: key}); - } + } } } </script> @@ -46,8 +43,8 @@ export default { <el-menu default-active="/" + router mode="horizontal" - @select="handleSelect" id="fc__menu_bar" class="el-menu-demo el-tabs__nav-scroll" > diff --git a/src-vue/src/main.ts b/src-vue/src/main.ts index 758fe747..cd1936b2 100644 --- a/src-vue/src/main.ts +++ b/src-vue/src/main.ts @@ -40,7 +40,6 @@ const router = createRouter({ routes, // short for `routes: routes` }); app.use(router); -router.push({path: '/'}); app.mount('#app') |