From 3e49cb378dacaae5cc41d75dbf3040bd085bf225 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期一, 22 四月 2024 20:08:13 +0800
Subject: [PATCH] #
---
pages/phyz/orderOut/orderList.vue | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/pages/phyz/orderOut/orderList.vue b/pages/phyz/orderOut/orderList.vue
index 2f84f21..6315f0d 100644
--- a/pages/phyz/orderOut/orderList.vue
+++ b/pages/phyz/orderOut/orderList.vue
@@ -88,6 +88,11 @@
k['id'] = id
}
_this.dataList = res.data
+ } else if (res.code == 403) {
+ uni.showToast({ title: res.msg, icon: "error", position: 'top' })
+ setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000);
+ } else {
+ uni.showToast({ title: res.msg, icon: "error", position: 'top' })
}
}
})
@@ -124,6 +129,11 @@
console.log(res);
if (res.code === 200) {
+ } else if (res.code == 403) {
+ uni.showToast({ title: res.msg, icon: "error", position: 'top' })
+ setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000);
+ } else {
+ uni.showToast({ title: res.msg, icon: "error", position: 'top' })
}
}
})
--
Gitblit v1.9.1