From 567c004135c8047af1a33a0a537d7c30ac890b57 Mon Sep 17 00:00:00 2001 From: xushilin <1354769781@qq.com> Date: Fri, 18 Apr 2025 15:30:31 +0800 Subject: [PATCH] =?UTF-8?q?init(projects):=20=E8=B7=B3=E8=BD=AC=E7=9C=8B?= =?UTF-8?q?=E6=9D=BF=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/composables/router.ts | 4 ++-- src/views/board/kanBan/index.vue | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/composables/router.ts b/src/composables/router.ts index 7d2e2ee..7b11a1d 100644 --- a/src/composables/router.ts +++ b/src/composables/router.ts @@ -17,8 +17,8 @@ export function useRouterPush(inSetup = true) { */ function routerPush(to: RouteLocationRaw, newTab = false) { if (typeof to === 'string' && to?.indexOf('/board/kanBan') > -1) { - // router.push({ name: 'board_kanBan' }); - window.open('/board/kanBan', '_blank'); + router.push({ name: 'board_kanBan' }); + // window.open('/board/kanBan', '_blank'); return Promise.resolve(); } if (newTab) { diff --git a/src/views/board/kanBan/index.vue b/src/views/board/kanBan/index.vue index 93e0690..7351c6d 100644 --- a/src/views/board/kanBan/index.vue +++ b/src/views/board/kanBan/index.vue @@ -509,6 +509,7 @@ import midMidFirst from './compents/midMidFirst.vue'; import midMidBot from './compents/midMidBot.vue'; import { debounce } from './compents/dashboard/mixins/resize'; import { useRouter } from 'vue-router'; +import { useAppStore } from '@/store'; export default defineComponent({ name: 'HomeView',