From 8c6cf5bc434f1f236b9a12c45c05636a3903f8c7 Mon Sep 17 00:00:00 2001 From: AprilWind <2100166581@qq.com> Date: 星期五, 19 四月 2024 13:02:14 +0800 Subject: [PATCH] !104 add 新增在线登录设备管理 * update 在线登录设备管理删除权限 * add 新增在线登录设备管理 --- src/views/tool/gen/editTable.vue | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/views/tool/gen/editTable.vue b/src/views/tool/gen/editTable.vue index d2f7375..2175a9c 100644 --- a/src/views/tool/gen/editTable.vue +++ b/src/views/tool/gen/editTable.vue @@ -119,6 +119,7 @@ import { DictTypeVO } from '@/api/system/dict/type/types'; import BasicInfoForm from './basicInfoForm.vue'; import GenInfoForm from './genInfoForm.vue'; +import { RouteLocationNormalized } from 'vue-router'; const route = useRoute(); const { proxy } = getCurrentInstance() as ComponentInternalInstance; @@ -167,7 +168,17 @@ }); }; const close = () => { - const obj = { path: '/tool/gen', query: { t: Date.now(), pageNum: route.query.pageNum } }; + const obj: RouteLocationNormalized = { + path: '/tool/gen', + fullPath: '', + hash: '', + matched: [], + meta: undefined, + name: undefined, + params: undefined, + redirectedFrom: undefined, + query: { t: Date.now().toString(), pageNum: route.query.pageNum } + }; proxy?.$tab.closeOpenPage(obj); }; -- Gitblit v1.9.3