From e46ea3ebacf817100fb81fbe83a87ab9b1291208 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Fri, 24 Sep 2021 14:55:11 +0800
Subject: [PATCH] 自动生成代码漏掉 this.#[[$modal]]#
---
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 3929857..622de0f 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.3