From 3117080be3756b48efcf9b1e06f0da5328222de3 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 26 十月 2021 15:14:18 +0800 Subject: [PATCH] !105 1:升级springboot版本到2.5.6。 2:升级hutool版本到5.7.15。 Merge pull request !105 from shenxinquan/auto-480232-dev-1635232384088 --- ruoyi-ui/src/views/tool/gen/importTable.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/tool/gen/importTable.vue b/ruoyi-ui/src/views/tool/gen/importTable.vue index 56b2c0c..068755f 100644 --- a/ruoyi-ui/src/views/tool/gen/importTable.vue +++ b/ruoyi-ui/src/views/tool/gen/importTable.vue @@ -104,8 +104,13 @@ }, /** 瀵煎叆鎸夐挳鎿嶄綔 */ handleImportTable() { - importTable({ tables: this.tables.join(",") }).then(res => { - this.msgSuccess(res.msg); + const tableNames = this.tables.join(","); + if (tableNames == "") { + this.$modal.msgError("璇烽�夋嫨瑕佸鍏ョ殑琛�"); + return; + } + importTable({ tables: tableNames }).then(res => { + this.$modal.msgSuccess(res.msg); if (res.code === 200) { this.visible = false; this.$emit("ok"); -- Gitblit v1.9.3