From 9a11bff3d98aea29f37abc34a00a17f5c92ade9c Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 02 四月 2026 17:50:36 +0800
Subject: [PATCH] fix: 扫码路径ip修改

---
 src/settings.js |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/settings.js b/src/settings.js
index b640d05..18b1799 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -8,13 +8,16 @@
 // | Author: CMS Team <admin@CMS.com>
 // +----------------------------------------------------------------------
 
-// 璇锋眰鎺ュ彛鍦板潃 濡傛灉娌℃湁閰嶇疆鑷姩鑾峰彇褰撳墠缃戝潃璺緞
-const VUE_APP_API_URL = process.env.VUE_APP_BASE_API || `${location.origin}/api/`;
+// 璇锋眰鎺ュ彛鍦板潃锛�
+// - 娴忚鍣ㄨ繍琛屾椂鍙娇鐢� location.origin
+// - Node 鏋勫缓/鍔犺浇闃舵锛坴ue-cli-service 鍔犺浇 vue.config.js锛夋病鏈� location锛屽繀椤诲厹搴�
+const VUE_APP_API_URL =
+  process.env.VUE_APP_BASE_API || "http://1.15.17.182:9031/api/";
 module.exports = {
   // 鎺ュ彛璇锋眰鍦板潃
   apiBaseURL: VUE_APP_API_URL,
 
-  title: 'CMS',
+  title: "CMS",
 
   /**
    * @type {boolean} true | false
@@ -46,5 +49,5 @@
    * The default is only used in the production env
    * If you want to also use it in dev, you can pass ['production', 'development']
    */
-  errorLog: 'production'
-}
+  errorLog: "production",
+};

--
Gitblit v1.9.3