diff --git a/src/components/Layout/LeftMenu/index.vue b/src/components/Layout/LeftMenu/index.vue index 71cae60..460ea44 100644 --- a/src/components/Layout/LeftMenu/index.vue +++ b/src/components/Layout/LeftMenu/index.vue @@ -41,7 +41,7 @@ export default defineComponent({ list = row.children } }, - { immediate: true } + { immediate: true } ) return { list, diff --git a/src/router/index.js b/src/router/index.js index 9724319..b1af86e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -5,7 +5,7 @@ const routes = [ path: "/", name: "Layout", component: () => import("@/components/Layout/index.vue"), - redirect: '/homePage', + redirect: '/questManage', meta: { title: '首页', }, @@ -33,6 +33,7 @@ const routes = [ component: () => import("@/views/QuestManage/_questList/index.vue"), meta: { title: '任务列表', + keepAlive: true }, }, { @@ -41,6 +42,7 @@ const routes = [ component: () => import("@/views/QuestManage/_infoCollect/index.vue"), meta: { title: '线索收集', + keepAlive: true }, }, { diff --git a/src/views/BasicSetting/index.vue b/src/views/BasicSetting/index.vue index 8787f75..655bcbd 100644 --- a/src/views/BasicSetting/index.vue +++ b/src/views/BasicSetting/index.vue @@ -1,5 +1,9 @@