fix: 提交

20240912_adapter_z
chenhc 10 months ago
parent fb6239c0e8
commit 9667cec491

@ -17,6 +17,7 @@
<span style="font-size: 16px;color: #409EFF;margin-left: 20px">当前业务类型:&nbsp&nbsp&nbsp&nbsp<span style="font-size: 16px;color: #000000">{{this.formData.busName}}</span>
&nbsp&nbsp&nbsp&nbsp <el-button type="primary" @click="toggleBusType" style="margin-left: 10px;" >切换业务</el-button>
<el-button type="danger" @click="closeAllTabs" style="margin-left: 10px;" v-if="this.showContextMenu"></el-button>
</span>
</el-col>
@ -125,9 +126,9 @@
@contextmenu.stop.prevent="handleTabContextMenu($event, item)"
style="background-color: white"
>
<ul v-if="showContextMenu" class="context-menu" :style="contextMenuPosition">
<li @click="closeAllTabs"></li>
</ul>
<!-- <ul v-if="showContextMenu" class="context-menu" :style="contextMenuPosition">-->
<!-- <li @click="closeAllTabs"></li>-->
<!-- </ul>-->
<div >
<component v-if="showChild" :is="item.component" v-bind="item.componentProps" :reset-key="resetKeys[item.name]" @parent-method="parentMethod"
style="margin-top: -14px"/>
@ -508,13 +509,13 @@ export default {
},
handleTabContextMenu(event, tab) {
this.showContextMenu = true;
this.contextMenuTab = tab;
this.contextMenuPosition = { x: event.clientX, y: event.clientY };
// this.contextMenuTab = tab;
// this.contextMenuPosition = { x: event.clientX, y: event.clientY };
},
closeContextMenu() {
this.showContextMenu = false;
this.contextMenuStyle.display = 'none'; //
// this.contextMenuStyle.display = 'none'; //
},
closeCurrentTab(index) {
//

Loading…
Cancel
Save