mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-19 09:25: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;
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
if (this.id == undefined) {
|
||||
API_Setting.addSmsSign(this.form).then(res => {
|
||||
this.loading = false;
|
||||
if (res.code === 200) {
|
||||
if (res.success) {
|
||||
this.$Message.success('添加成功');
|
||||
this.$router.back()
|
||||
}
|
||||
@@ -134,7 +134,7 @@
|
||||
} else {
|
||||
API_Setting.editSmsSign(this.form).then(res => {
|
||||
this.loading = false;
|
||||
if (res.code === 200) {
|
||||
if (res.success) {
|
||||
this.$Message.success('修改成功');
|
||||
this.$router.back()
|
||||
}
|
||||
@@ -150,7 +150,7 @@
|
||||
getSmsSignDetail() {
|
||||
API_Setting.smsSignDetail(this.id).then(res => {
|
||||
this.loading = false;
|
||||
if (res.code === 200) {
|
||||
if (res.success) {
|
||||
this.form = res.result
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user