This commit is contained in:
Guoqs
2024-07-29 14:06:13 +08:00
parent 438c855075
commit db38619e5a

View File

@@ -185,7 +185,7 @@ export default {
// 非单个禁用
single: true,
// 非多个禁用
multiple: true,
multiple: false,
// 显示搜索条件
showSearch: true,
// 总条数
@@ -302,7 +302,7 @@ export default {
handleSelectionChange(selection) {
this.ids = selection.map(item => item.id)
this.single = selection.length !== 1
this.multiple = !selection.length
// this.multiple = !selection.length
},
/** 新增按钮操作 */
handleAdd() {