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