|
|
|
@ -344,14 +344,13 @@ export default { |
|
|
|
selsChange: function (sels) { |
|
|
|
this.sels = sels; |
|
|
|
}, |
|
|
|
|
|
|
|
rowClick: function (row) { |
|
|
|
if(this.editForm && row.menuId===this.editForm.menuId){ |
|
|
|
this.editForm=null; |
|
|
|
unselectRow(){ |
|
|
|
this.editForm=null; |
|
|
|
this.$emit('row-click',null) |
|
|
|
this.$refs.table.setCurrentRow(); |
|
|
|
return; |
|
|
|
} |
|
|
|
}, |
|
|
|
rowClick: function (row) { |
|
|
|
this.editForm = row; |
|
|
|
this.editFormBak=Object.assign({},row) |
|
|
|
this.$emit('row-click',row,);// @row-click="rowClick" |
|
|
|
|