From da088d70f3c1b5d16f2a3eef548191c778e3fe99 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Thu, 23 Jan 2025 01:17:45 +0800
Subject: [PATCH] 11
---
vue.config.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index f1b24ef..a718a88 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -43,14 +43,15 @@
// 服务地址,即你要访问的服务器地址
// target: 'https://good.xinbi.one/wap/',
target: 'https://alokexs.com/wap/',
- // 路径重写,将'/user/login'重写为'/login'
+ // 路径重写,将'/user/login'重写为'/login'
+
pathRewrite: {
'^/wap/api': ''
},
// 所有信息都在命令行工具打印
logLevel: 'debug'
},
- },
+ },
}
});
-// module.exports.publicPath = "/dadi/";
\ No newline at end of file
+module.exports.publicPath = "/dadi/";
\ No newline at end of file
--
Gitblit v1.9.3