v3.8.0 新增通用方法简化模态/缓存使用

This commit is contained in:
YunaiV
2022-02-17 13:11:21 +08:00
parent 433056d5ea
commit 38ac5270d6
60 changed files with 366 additions and 452 deletions

View File

@ -96,7 +96,7 @@ export default {
// 修改的提交
if (data.id) {
updateModel(data).then(response => {
this.msgSuccess("修改成功")
this.$modal.msgSuccess("修改成功")
// 跳转回去
this.close()
})
@ -104,7 +104,7 @@ export default {
}
// 添加的提交
createModel(data).then(response => {
this.msgSuccess("保存成功")
this.$modal.msgSuccess("保存成功")
// 跳转回去
this.close()
})