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() 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({