From 6252f3c467e2a88a1b424dda05e7556aecc47c2d Mon Sep 17 00:00:00 2001 From: wangzimeng <3297159934@qq.com> Date: Mon, 11 Aug 2025 11:08:02 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=8F=91=E5=B8=83=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E7=9B=B4=E6=8E=A5=E8=B7=B3=E8=BD=AC=E5=88=B0?= =?UTF-8?q?=E6=88=91=E7=9A=84=E5=8F=91=E5=B8=83=E7=9A=84=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/fabu.vue | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/pages/index/fabu.vue b/pages/index/fabu.vue index b5afab9..b73fc67 100644 --- a/pages/index/fabu.vue +++ b/pages/index/fabu.vue @@ -702,7 +702,12 @@ const res = await sheep.$api.rent.addRent(form.value) if (res.code == 1) { - console.log('发布成功'); + // console.log('发布成功'); + // sheep.$helper.toast(res.msg); + uni.showToast({ + title: res.msg, + icon: 'success' + }) agreeAdd.value = false; selectTagslist.value = [] tagSelectedNum.value = 0; @@ -732,10 +737,14 @@ state.currentCityIndex = [0, 0] console.log('currentCityIndex', state.currentCityIndex); - - uni.switchTab({ - url: '/pages/index/user' - }) + setTimeout(() => { + uni.navigateTo({ + url: '/pages/user/myRelease/list' + }) + },1000) + // uni.switchTab({ + // url: '/pages/index/user' + // }) }else { sheep.$helper.toast(res.msg); // uni.showToast({