|
|
@ -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() {
|
|
|
|