mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-19 01:15:53 +08:00
所有页面res.code替换为res.success
This commit is contained in:
@@ -761,7 +761,7 @@ export default {
|
||||
API_Setting.addSmsTemplatePage(this.templateForm)
|
||||
.then((res) => {
|
||||
this.loading = false;
|
||||
if (res.code === 200) {
|
||||
if (res.success) {
|
||||
this.$Message.success("添加成功");
|
||||
this.loading = false;
|
||||
this.templateModalVisible = false;
|
||||
@@ -775,7 +775,7 @@ export default {
|
||||
API_Setting.editSmsTemplatePage(this.templateForm)
|
||||
.then((res) => {
|
||||
this.loading = false;
|
||||
if (res.code === 200) {
|
||||
if (res.success) {
|
||||
this.$Message.success("修改成功");
|
||||
this.loading = false;
|
||||
this.templateModalVisible = false;
|
||||
|
||||
Reference in New Issue
Block a user