From c92e539cd1ceeecc851bddf9c7468081c16dd45e Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期二, 30 九月 2025 10:54:15 +0800 Subject: [PATCH] pda功能初始化 --- pages/warehouse/orderList.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/pages/warehouse/orderList.vue b/pages/warehouse/orderList.vue index 774f6fa..bd823d8 100644 --- a/pages/warehouse/orderList.vue +++ b/pages/warehouse/orderList.vue @@ -63,7 +63,15 @@ method: 'POST', success(res) { res = res.data - that.menuList = res.data + if (res.code === 200) { + that.menuList = res.data + } else if (res.code == 403) { + uni.showToast({ title: res.msg, icon: "error", position: 'top' }); + setTimeout(() => { + uni.reLaunch({ url: '../login/login' }); + }, 1000); + } + } }) }, -- Gitblit v1.9.1