From 258335cc6599dacd6130e1da988a403efe67219d Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期四, 23 九月 2021 09:38:16 +0800 Subject: [PATCH] 新增通用方法简化模态/缓存使用 --- ruoyi-ui/src/views/tool/gen/editTable.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/tool/gen/editTable.vue b/ruoyi-ui/src/views/tool/gen/editTable.vue index a5c5168..4689ea9 100644 --- a/ruoyi-ui/src/views/tool/gen/editTable.vue +++ b/ruoyi-ui/src/views/tool/gen/editTable.vue @@ -192,13 +192,13 @@ parentMenuId: genTable.parentMenuId }; updateGenTable(genTable).then(res => { - this.msgSuccess(res.msg); + this.$modal.msgSuccess(res.msg); if (res.code === 200) { this.close(); } }); } else { - this.msgError("表单校验未通过,请重新检查提交内容"); + this.$modal.msgError("表单校验未通过,请重新检查提交内容"); } }); }, -- Gitblit v1.9.2