|
|
@@ -165,7 +165,11 @@ export default {
|
|
|
this.selectedValue = this.multiple ? [] : {}
|
|
|
this.setSelectRow()
|
|
|
}
|
|
|
- this.$emit('action-event', key, JSON.parse(JSON.stringify(this.selectedValue)))
|
|
|
+ this.$emit('close', false)
|
|
|
+ if(typeof this.selectedValue != 'undefined'){
|
|
|
+ this.$emit('action-event', key, JSON.parse(JSON.stringify(this.selectedValue)))
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
setSelectRow() {
|
|
|
if (this.$refs['dataTemplate'] && this.$refs['dataTemplate'].setSelectRow) {
|