|
@@ -280,12 +280,14 @@ export default {
|
|
|
} else { // 管理列
|
|
} else { // 管理列
|
|
|
selection = data ? this.getPkValue(data) : null
|
|
selection = data ? this.getPkValue(data) : null
|
|
|
}
|
|
}
|
|
|
- this.$emit('action-event', buttonKey, position, selection, data, index, action)
|
|
|
|
|
- // if(this.$utils.isArray(data)){
|
|
|
|
|
- // this.$emit('action-event', buttonKey, position, selection, this.selectionAll, index, action)
|
|
|
|
|
- // }else{
|
|
|
|
|
- // this.$emit('action-event', buttonKey, position, selection, data, index, action)
|
|
|
|
|
- // }
|
|
|
|
|
|
|
+ console.log('283 this.selectionAll',this.selectionAll)
|
|
|
|
|
+
|
|
|
|
|
+ // this.$emit('action-event', buttonKey, position, selection, data, index, action)
|
|
|
|
|
+ if (this.$utils.isArray(data) && this.selectionAll !== null) {
|
|
|
|
|
+ this.$emit('action-event', buttonKey, position, selection, this.selectionAll, index, action)
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$emit('action-event', buttonKey, position, selection, data, index, action)
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
/**
|
|
/**
|