From 407e5ebf0da7174249e1d71d56599ad6e697e12c Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期三, 22 五月 2024 10:43:56 +0800 Subject: [PATCH] # --- pages/phyz/order/orderCar.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/phyz/order/orderCar.vue b/pages/phyz/order/orderCar.vue index b55cfa8..cb99ab8 100644 --- a/pages/phyz/order/orderCar.vue +++ b/pages/phyz/order/orderCar.vue @@ -60,6 +60,7 @@ </template> <script> + // todo: 璐墿杞︿紭鍖�,瀛樺偍璐墿杞﹀唴瀹�,閫�鍑洪〉闈㈠啀杩涘悗璐墿杞﹁繕鍦� export default { data() { return { @@ -167,14 +168,14 @@ if (res.code === 200) { _this.orderCarList = [] _this.$refs.agvStart.close() - uni.showToast({ title: '鍚姩鎴愬姛锛�', icon: "error", position: 'top' }) + uni.showToast({ title: '鍚姩鎴愬姛锛�', icon: "success", position: 'top' }) setTimeout(()=> { _this.getOpenerEventChannel().emit('acceptDataFromOpenedPage', {data: 1}); uni.navigateBack({}) },1000) } else if (res.code == 403) { uni.showToast({ title: res.msg, icon: "error", position: 'top' }) - setTimeout(() => { uni.reLaunch({ url: '../login/login' }); }, 1000); + setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000); } else { uni.showToast({ title: res.msg, icon: "error", position: 'top' }) } -- Gitblit v1.9.1