优化上报弹出提示
This commit is contained in:
parent
b362c2ff2f
commit
a8756dfb1b
@ -297,12 +297,14 @@
|
|||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '提交成功',
|
title: '提交成功',
|
||||||
icon: 'success',
|
icon: 'success',
|
||||||
duration: 2000
|
duration: 2000,
|
||||||
|
complete: function() {
|
||||||
|
// 在弹出提示框后再跳转到我的页面
|
||||||
|
uni.switchTab({
|
||||||
|
url: "/pages/user/mine/MePage"
|
||||||
|
});
|
||||||
|
}
|
||||||
});
|
});
|
||||||
//提交成功返回我的页面
|
|
||||||
uni.switchTab({
|
|
||||||
url: "/pages/user/mine/MePage"
|
|
||||||
})
|
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '操作失败',
|
title: '操作失败',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user