mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 20:42:52 +08:00
折叠面板单独展开后,点击全部展开按钮不生效,直接是全部收起操作
This commit is contained in:
@@ -153,15 +153,15 @@ export default {
|
||||
},
|
||||
appCallBack(data) {
|
||||
if (data.trigger == 'right_button_click') {
|
||||
this.collapseAll()
|
||||
this.isOpen = this.isOpen == '0' ? (this.isOpen = '1') : (this.isOpen = '0')
|
||||
this.collapseAll()
|
||||
this.checkBtn() // 初始化显示按钮
|
||||
}
|
||||
},
|
||||
//右上角,全部展开、全部收起
|
||||
collapseAll(){
|
||||
let that = this
|
||||
if(that.activeNames.length){
|
||||
if(that.isOpen == '1'){
|
||||
that.activeNames = []
|
||||
}else{
|
||||
that.activeNames = []
|
||||
|
||||
Reference in New Issue
Block a user