parent
ce5ca68485
commit
de2b0d6ea0
|
|
@ -126,10 +126,12 @@
|
||||||
this.setData({
|
this.setData({
|
||||||
form_submit_loading: false,
|
form_submit_loading: false,
|
||||||
});
|
});
|
||||||
app.globalData.showToast(res.data.msg);
|
app.globalData.showToast(res.data.msg, 'success');
|
||||||
if (res.data.code == 0) {
|
if (res.data.code == 0) {
|
||||||
// 默认返回上一页
|
setTimeout(() => {
|
||||||
uni.navigateBack();
|
// 默认返回上一页
|
||||||
|
uni.navigateBack();
|
||||||
|
}, 1500);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fail: () => {
|
fail: () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue