yc-ui2 0.1.3-beta1 → 0.1.3-beta2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yc-ui2",
3
- "version": "0.1.3-beta1",
3
+ "version": "0.1.3-beta2",
4
4
  "private": false,
5
5
  "description": "湖南优创UI组件库",
6
6
  "main": "dist/yc-ui2.umd.min.js",
@@ -5,7 +5,7 @@ axios.defaults.headers["Content-Type"] = "application/json;charset=utf-8";
5
5
  // 创建axios实例
6
6
  const service = axios.create({
7
7
  // axios中请求配置有baseURL选项,表示请求URL公共部分
8
- baseURL: process.env.VUE_APP_PATH,
8
+ baseURL: process.env.VUE_APP_CUSTOMER_PATH,
9
9
  // 超时
10
10
  timeout: 10000,
11
11
  });
package/vue.config.js CHANGED
@@ -20,11 +20,11 @@ module.exports = defineConfig({
20
20
  // 前端代理服务器
21
21
  devServer: {
22
22
  proxy: {
23
- [process.env.VUE_APP_PATH]: {
24
- target: `http://${process.env.VUE_APP_BASE_API}`,
23
+ [process.env.VUE_APP_CUSTOMER_PATH]: {
24
+ target: `http://${process.env.VUE_APP_CUSTOMER_API}`,
25
25
  changeOrigin: true,
26
26
  pathRewrite: {
27
- ["^"+process.env.VUE_APP_PATH]: "",
27
+ ["^"+process.env.VUE_APP_CUSTOMER_PATH]: "",
28
28
  },
29
29
  },
30
30
  [process.env.VUE_APP_IMG_PATH]: {