From e3d44b5694b87e8b32d468d8b97fdd409da10b52 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 29 六月 2023 09:23:43 +0800 Subject: [PATCH] Merge branch 'develop' --- 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