From 271e42176c49a3679991f8c9e30f2ce192b87eaa Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 18 十二月 2021 18:19:34 +0800 Subject: [PATCH] !126 自动生成代码未引入此依赖 import com.baomidou.mybatisplus.extension.plugins.pag Merge pull request !126 from 抓蛙师/auto-7465549-dev-1639814849312 --- 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