Fix(店铺):[#2199]重复点击确认修改,店铺资质图片会重复添加

This commit is contained in:
lifizer
2024-08-21 15:22:52 +08:00
parent e08f597f58
commit 0528865e7b
+7 -7
View File
@@ -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({