From 764e06a91028ad19ac5217506bb15b00c8ba99ce Mon Sep 17 00:00:00 2001 From: lyt-Top <1105290566@qq.com> Date: Sun, 7 Mar 2021 19:49:10 +0800 Subject: [PATCH] =?UTF-8?q?'admin-21.03.07:=E4=BC=98=E5=8C=96tagsView?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E9=A1=B5=E5=85=A8=E5=B1=8F=E5=8A=9F=E8=83=BD?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/fun/tagsView/index.vue | 6 +++++- src/views/layout/navBars/tagsView/contextmenu.vue | 2 +- src/views/layout/navBars/tagsView/tagsView.vue | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/fun/tagsView/index.vue b/src/views/fun/tagsView/index.vue index 8258beed..6ec731b9 100644 --- a/src/views/fun/tagsView/index.vue +++ b/src/views/fun/tagsView/index.vue @@ -90,9 +90,13 @@ export default { value: 3, label: "关闭全部", }, + { + value: 4, + label: "当前页全屏", + }, ], }); - // 0 刷新当前,1 关闭当前,2 关闭其它,3 关闭全部 + // 0 刷新当前,1 关闭当前,2 关闭其它,3 关闭全部 4 当前页全屏 // 1、刷新当前 tagsView const refreshCurrentTagsView = () => { proxy.mittBus.emit("onCurrentContextmenuClick", { diff --git a/src/views/layout/navBars/tagsView/contextmenu.vue b/src/views/layout/navBars/tagsView/contextmenu.vue index 8557201f..5c041017 100644 --- a/src/views/layout/navBars/tagsView/contextmenu.vue +++ b/src/views/layout/navBars/tagsView/contextmenu.vue @@ -43,7 +43,7 @@ export default defineComponent({ { id: 3, txt: "全部关闭", affix: false, icon: "el-icon-folder-delete" }, { id: 4, - txt: "当前全屏", + txt: "当前页全屏", affix: false, icon: "iconfont icon-fullscreen", }, diff --git a/src/views/layout/navBars/tagsView/tagsView.vue b/src/views/layout/navBars/tagsView/tagsView.vue index 86d5e165..6f871e6b 100644 --- a/src/views/layout/navBars/tagsView/tagsView.vue +++ b/src/views/layout/navBars/tagsView/tagsView.vue @@ -249,7 +249,7 @@ export default { }); // 页面加载前 onBeforeMount(() => { - // 监听非本页面调用 0 刷新当前,1 关闭当前,2 关闭其它,3 关闭全部 + // 监听非本页面调用 0 刷新当前,1 关闭当前,2 关闭其它,3 关闭全部 4 当前页全屏 proxy.mittBus.on("onCurrentContextmenuClick", (data: object) => { onCurrentContextmenuClick(data); });