修复投诉不提示问题
This commit is contained in:
parent
8d643b8ac2
commit
3a09268465
|
@ -72,7 +72,7 @@ export default {
|
||||||
data: data,
|
data: data,
|
||||||
}).then(response => {
|
}).then(response => {
|
||||||
if (response.code == 1) {
|
if (response.code == 1) {
|
||||||
return resolve();
|
return resolve(response.msg);
|
||||||
}
|
}
|
||||||
return reject(response.msg);
|
return reject(response.msg);
|
||||||
}).catch(e => { });
|
}).catch(e => { });
|
||||||
|
|
|
@ -78,8 +78,10 @@ export default {
|
||||||
imgs: this.image,
|
imgs: this.image,
|
||||||
desc: this.content,
|
desc: this.content,
|
||||||
})
|
})
|
||||||
.then((response) => {
|
.then((msg) => {
|
||||||
console.log(response);
|
this.$utils.toast(msg).then(() => {
|
||||||
|
this.$utils.toPage("", {}, "back");
|
||||||
|
});
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
this.$utils.toast(e);
|
this.$utils.toast(e);
|
||||||
|
|
Loading…
Reference in New Issue