From ea4cf388b11923ae181f17661aae71c0b95fecd5 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期五, 14 八月 2020 12:00:50 +0800 Subject: [PATCH] 添加底库样式调整,跳转及关闭窗口同步高亮处理 --- src/pages/desktop/index/components/ToolsEntry.vue | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/pages/desktop/index/components/ToolsEntry.vue b/src/pages/desktop/index/components/ToolsEntry.vue index df9d6e0..5bc5d61 100644 --- a/src/pages/desktop/index/components/ToolsEntry.vue +++ b/src/pages/desktop/index/components/ToolsEntry.vue @@ -86,6 +86,7 @@ dockMask.style.width = dockItems.length * 60 + 40 + 'px'; }, addFrameByName(name, params) { + debugger let dock = null; this.$store.state.desktop.docks.forEach(app => { if (app.name === name) { @@ -102,6 +103,15 @@ title: dock.title, url: dock.url + "?" + params }); + this.$store.commit('desktop/addMinDock', { + id: dock.id, + src: dock.src, + alt: dock.title, + type: "3", + highlight: true, + url: dock.url, + screenshot: '' + }); } } }; -- Gitblit v1.8.0