From fb3b3e41804abeeb4a54d9df3030bc3cdb75c245 Mon Sep 17 00:00:00 2001
From: 吴健 <14790700720@163.com>
Date: 星期三, 27 十一月 2024 10:21:02 +0800
Subject: [PATCH] add 工艺配方

---
 billion-ui/src/utils/request.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/billion-ui/src/utils/request.js b/billion-ui/src/utils/request.js
index ffb0d21..afe98c1 100644
--- a/billion-ui/src/utils/request.js
+++ b/billion-ui/src/utils/request.js
@@ -15,7 +15,7 @@
 // 鍒涘缓axios瀹炰緥
 const service = axios.create({
   // axios涓姹傞厤缃湁baseURL閫夐」锛岃〃绀鸿姹俇RL鍏叡閮ㄥ垎
-  baseURL: process.env.VUE_APP_BASE_API,
+  baseURL: `http://192.168.20.9:8080`,
   // 瓒呮椂
   timeout: 10000
 })
@@ -53,7 +53,7 @@
       cache.session.setJSON('sessionObj', requestObj)
     } else {
       const s_url = sessionObj.url;                  // 璇锋眰鍦板潃
-      const s_data = sessionObj.data;                // 璇锋眰鏁版嵁
+      const s_data = sessionObj.index;                // 璇锋眰鏁版嵁
       const s_time = sessionObj.time;                // 璇锋眰鏃堕棿
       const interval = 1000;                         // 闂撮殧鏃堕棿(ms)锛屽皬浜庢鏃堕棿瑙嗕负閲嶅鎻愪氦
       if (s_data === requestObj.data && requestObj.time - s_time < interval && s_url === requestObj.url) {

--
Gitblit v1.9.3