From 0528865e7b59581b3f6d7d754a80bb8fddbf1bc6 Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Wed, 21 Aug 2024 15:22:52 +0800 Subject: [PATCH] =?UTF-8?q?Fix(=E5=BA=97=E9=93=BA):[#2199]=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E7=82=B9=E5=87=BB=E7=A1=AE=E8=AE=A4=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=8C=E5=BA=97=E9=93=BA=E8=B5=84=E8=B4=A8=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E4=BC=9A=E9=87=8D=E5=A4=8D=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesInn/inn/innProfileEdit.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pagesInn/inn/innProfileEdit.vue b/pagesInn/inn/innProfileEdit.vue index e5e126b..2a520e2 100644 --- a/pagesInn/inn/innProfileEdit.vue +++ b/pagesInn/inn/innProfileEdit.vue @@ -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({