From 47e1cecb6f5cd01c029ff1a2f1658326a33025f4 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 15 十一月 2025 11:51:35 +0800
Subject: [PATCH] 生产管控-左右页面逻辑修改
---
src/utils/request.ts | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/utils/request.ts b/src/utils/request.ts
index 23752c2..7e40c06 100644
--- a/src/utils/request.ts
+++ b/src/utils/request.ts
@@ -22,12 +22,12 @@
config.url = url
}
// 璁板綍璇锋眰鍙傛暟
- console.log('璇锋眰鍙戦�佸弬鏁�:', {
- url: (config.baseUrl || baseUrl) + config.url,
- method: config.method || 'GET',
- headers: config.header,
- data: config.data
- })
+ // console.log('璇锋眰鍙戦�佸弬鏁�:', {
+ // url: (config.baseUrl || baseUrl) + config.url,
+ // method: config.method || 'GET',
+ // headers: config.header,
+ // data: config.data
+ // })
return new Promise((resolve, reject) => {
uni.request({
method: config.method || 'GET',
@@ -49,11 +49,11 @@
// @ts-ignore
const msg: string = errorCode[code] || data.msg || errorCode['default']
// 璁板綍鎺ユ敹鍒扮殑鍙傛暟
- console.log('鎺ユ敹鍒扮殑鍙傛暟:', {
- url: (config.baseUrl || baseUrl) + config.url,
- code: code,
- data: data
- })
+ // console.log('鎺ユ敹鍒扮殑鍙傛暟:', {
+ // url: (config.baseUrl || baseUrl) + config.url,
+ // code: code,
+ // data: data
+ // })
if (code === 401) {
showConfirm('鐧诲綍鐘舵�佸凡杩囨湡锛屾偍鍙互缁х画鐣欏湪璇ラ〉闈紝鎴栬�呴噸鏂扮櫥褰�?').then(res => {
if (res.confirm) {
--
Gitblit v1.9.3