更新其它方法
Former-commit-id: 2b350f2c7dcabccf81332da56913ed5791b2630b [formerly 2b350f2c7dcabccf81332da56913ed5791b2630b [formerly 2b350f2c7dcabccf81332da56913ed5791b2630b [formerly 2b350f2c7dcabccf81332da56913ed5791b2630b [formerly fd209ad1a484e712fd0ea74ce7020098aead4242 [formerly 2c257cb405ccac096443bd2fdccbaae5b7a7336c]]]]] Former-commit-id: 434ea68625951aac6b0e831c27c269c4ee3aebf6 Former-commit-id: 9ac8deebf8637bdffe8a0db61c35c76ef2d0072b Former-commit-id: 16095a553ae10a98e0cbebdad85e31d0208e6326 [formerly eeb61bc0d3c1cce704fde0002c37dedae74b0238] Former-commit-id: 5ce017604d4ab2d59966ec0506d8169e1d5bedce Former-commit-id: d31d2b9eacc1a8babee74378e0e94dfd1ac9b2bd Former-commit-id: 11ef4d394329d103b6092cb54d582e27cf3f55c9 Former-commit-id: 565b6d70b1ccc2315074c7ee0b8a1b12b1aed997 Former-commit-id: 47dc611dc81999519ee3a87706b3beec4d70d414
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<el-dropdown
|
||||
size="default"
|
||||
split-button
|
||||
@click="handleControlBtnClick"
|
||||
@click="closeAll"
|
||||
@command="command => handleControlItemClick(command)">
|
||||
<d2-icon name="times-circle"/>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
@@ -131,8 +131,7 @@ export default {
|
||||
this.contextmenuFlag = false
|
||||
}
|
||||
const params = {
|
||||
pageSelect: tagName,
|
||||
vm: this
|
||||
pageSelect: tagName
|
||||
}
|
||||
switch (command) {
|
||||
case 'left':
|
||||
@@ -145,19 +144,13 @@ export default {
|
||||
this.closeOther(params)
|
||||
break
|
||||
case 'all':
|
||||
this.closeAll(this)
|
||||
this.closeAll()
|
||||
break
|
||||
default:
|
||||
this.$message.error('无效的操作')
|
||||
break
|
||||
}
|
||||
},
|
||||
/**
|
||||
* @description 接收点击关闭控制上按钮的事件
|
||||
*/
|
||||
handleControlBtnClick () {
|
||||
this.closeAll(this)
|
||||
},
|
||||
/**
|
||||
* @description 接收点击 tab 标签的事件
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user