'admin-21.03.07:优化tagsView当前页全屏功能'

This commit is contained in:
lyt-Top 2021-03-07 19:49:10 +08:00
parent 611bb33831
commit 764e06a910
3 changed files with 7 additions and 3 deletions

View File

@ -90,9 +90,13 @@ export default {
value: 3, value: 3,
label: "关闭全部", label: "关闭全部",
}, },
{
value: 4,
label: "当前页全屏",
},
], ],
}); });
// 0 1 2 3 // 0 1 2 3 4
// 1 tagsView // 1 tagsView
const refreshCurrentTagsView = () => { const refreshCurrentTagsView = () => {
proxy.mittBus.emit("onCurrentContextmenuClick", { proxy.mittBus.emit("onCurrentContextmenuClick", {

View File

@ -43,7 +43,7 @@ export default defineComponent({
{ id: 3, txt: "全部关闭", affix: false, icon: "el-icon-folder-delete" }, { id: 3, txt: "全部关闭", affix: false, icon: "el-icon-folder-delete" },
{ {
id: 4, id: 4,
txt: "当前全屏", txt: "当前全屏",
affix: false, affix: false,
icon: "iconfont icon-fullscreen", icon: "iconfont icon-fullscreen",
}, },

View File

@ -249,7 +249,7 @@ export default {
}); });
// //
onBeforeMount(() => { onBeforeMount(() => {
// 0 1 2 3 // 0 1 2 3 4
proxy.mittBus.on("onCurrentContextmenuClick", (data: object) => { proxy.mittBus.on("onCurrentContextmenuClick", (data: object) => {
onCurrentContextmenuClick(data); onCurrentContextmenuClick(data);
}); });