src/components/SFtable/index.vue
@@ -159,7 +159,7 @@ type: Boolean, default: true, }, // 1模版列表 2选中患者 3患者列表 // 1模板列表 2选中患者 3患者列表 typeinfo: { type: Number, default: 1, @@ -199,6 +199,8 @@ }, // 多选框选中数据 handleSelectionChange(selection) { console.log(selection); this.$emit("handleSelectionChange", selection); }, toggleRowSelection(row, selected) { @@ -207,6 +209,7 @@ clearSelection() { // 在这里编写清除选择的逻辑 this.$refs.multipleTableson.clearSelection(); }, }, };