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

This commit is contained in:
RuoYi
2021-09-23 09:35:59 +08:00
parent a4099cf645
commit cae41a8da2
30 changed files with 364 additions and 325 deletions

View File

@@ -192,13 +192,13 @@ export default {
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("表单校验未通过,请重新检查提交内容");
}
});
},