From f07c42a322f41e14ef5b1bf8f2fd66fc5d338cdd Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 28 六月 2023 18:17:09 +0800 Subject: [PATCH] 2023-06-28 --- src/tabviews/zshare/actionList/tabbutton/index.jsx | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/tabviews/zshare/actionList/tabbutton/index.jsx b/src/tabviews/zshare/actionList/tabbutton/index.jsx index 9a7662a..7a7fee1 100644 --- a/src/tabviews/zshare/actionList/tabbutton/index.jsx +++ b/src/tabviews/zshare/actionList/tabbutton/index.jsx @@ -177,9 +177,14 @@ } } - MKEmitter.emit('modifyTabs', newtab, true) + if (btn.openTab === 'view') { + window.open('#/view/' + newtab.MenuID + '/' + primaryId) + } else { + MKEmitter.emit('modifyTabs', newtab, true) + + MKEmitter.emit('openNewTab') + } - MKEmitter.emit('openNewTab') if (window.GLOB.systemType === 'production') { MKEmitter.emit('queryTrigger', {menuId: btn.uuid, name: '鏍囩椤�'}) } -- Gitblit v1.8.0