From 759a0fcb320c7af510751a59b92b5e2ab437e107 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 25 Feb 2020 13:49:48 +0800 Subject: [PATCH] 导入表单击行数据时选中对应的复选框 --- ruoyi-ui/src/views/tool/gen/importTable.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/tool/gen/importTable.vue b/ruoyi-ui/src/views/tool/gen/importTable.vue index e441870..01606e6 100644 --- a/ruoyi-ui/src/views/tool/gen/importTable.vue +++ b/ruoyi-ui/src/views/tool/gen/importTable.vue @@ -26,7 +26,7 @@ - + @@ -76,6 +76,9 @@ export default { this.getList(); this.visible = true; }, + clickRow(row) { + this.$refs.table.toggleRowSelection(row); + }, // 多选框选中数据 handleSelectionChange(selection) { this.tables = selection.map(item => item.tableName); -- libgit2 0.21.4