多选bug修复

main
mo 1 year ago
parent c57bd6b1fb
commit ac204774c4

@ -1122,10 +1122,10 @@ export default {
this.ids = selection.map((item) => item.id); this.ids = selection.map((item) => item.id);
if (selection.length == 1) { if (selection.length == 1) {
this.multiple = false; this.multiple = false;
this.form = selection[0];
} else { } else {
this.multiple = true; this.multiple = true;
} }
this.form = selection[0];
}, },
/** 新增按钮操作 */ /** 新增按钮操作 */
handleAdd() { handleAdd() {

Loading…
Cancel
Save