Fix(店铺):[#2199]重复点击确认修改,店铺资质图片会重复添加
This commit is contained in:
@@ -375,14 +375,14 @@ export default {
|
|||||||
uni.showLoading()
|
uni.showLoading()
|
||||||
postHotelInfoEdit(param).then((res) => {
|
postHotelInfoEdit(param).then((res) => {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
uni.showToast({
|
uni.showModal({
|
||||||
title: '修改成功!',
|
title: '提示',
|
||||||
mask: false,
|
content: '修改成功!',
|
||||||
duration: 1500
|
showCancel: false,
|
||||||
|
success: () => {
|
||||||
|
uni.navigateBack()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
setTimeout(function () {
|
|
||||||
uni.navigateBack()
|
|
||||||
}, 1000)
|
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|||||||
Reference in New Issue
Block a user