From 4ece565d5afbc5660527bafed9ba44248597e63a Mon Sep 17 00:00:00 2001 From: gtz <535262213@qq.com> Date: Mon, 29 Jan 2024 18:38:19 +0800 Subject: [PATCH] 1 --- package-lock.json | 14 +++++++------- package.json | 2 +- src/utils/request.js | 4 ++-- vue.config.js | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 145c382..0118936 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "axios": "^1.6.5", "core-js": "^3.8.3", "element-ui": "^2.15.14", - "simple-keyboard": "^3.7.45", + "simple-keyboard": "^3.7.47", "simple-keyboard-layouts": "^3.3.55", "vant": "^2.13.2", "vue": "^2.6.14", @@ -10891,9 +10891,9 @@ "dev": true }, "node_modules/simple-keyboard": { - "version": "3.7.45", - "resolved": "https://registry.npmmirror.com/simple-keyboard/-/simple-keyboard-3.7.45.tgz", - "integrity": "sha512-53BSay9h99V8GuHvBmiUiNesG4oFwTJpMcE/nf3VXWYX95njPJeLdhDzgFljIITjZ6nKXe8E2Lp7OMArI+R/Cw==" + "version": "3.7.47", + "resolved": "https://registry.npmmirror.com/simple-keyboard/-/simple-keyboard-3.7.47.tgz", + "integrity": "sha512-NwtNAJF0OEjT6Qyn22AgybJPkxEJVHL56NYA8z/4lyrDQAyC2SoNLHdFK1ugsmL27AS80Jk473rboC31roj/fQ==" }, "node_modules/simple-keyboard-layouts": { "version": "3.3.55", @@ -21253,9 +21253,9 @@ "dev": true }, "simple-keyboard": { - "version": "3.7.45", - "resolved": "https://registry.npmmirror.com/simple-keyboard/-/simple-keyboard-3.7.45.tgz", - "integrity": "sha512-53BSay9h99V8GuHvBmiUiNesG4oFwTJpMcE/nf3VXWYX95njPJeLdhDzgFljIITjZ6nKXe8E2Lp7OMArI+R/Cw==" + "version": "3.7.47", + "resolved": "https://registry.npmmirror.com/simple-keyboard/-/simple-keyboard-3.7.47.tgz", + "integrity": "sha512-NwtNAJF0OEjT6Qyn22AgybJPkxEJVHL56NYA8z/4lyrDQAyC2SoNLHdFK1ugsmL27AS80Jk473rboC31roj/fQ==" }, "simple-keyboard-layouts": { "version": "3.3.55", diff --git a/package.json b/package.json index 31b1beb..0965853 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "axios": "^1.6.5", "core-js": "^3.8.3", "element-ui": "^2.15.14", - "simple-keyboard": "^3.7.45", + "simple-keyboard": "^3.7.47", "simple-keyboard-layouts": "^3.3.55", "vant": "^2.13.2", "vue": "^2.6.14", diff --git a/src/utils/request.js b/src/utils/request.js index 9c2d1bf..f82d324 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -13,8 +13,8 @@ import { MessageBox } from 'element-ui' axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' const service = axios.create({ - // baseURL: 'http://192.168.1.78:48082/admin-api', - baseURL: 'http://192.168.0.33:48082/admin-api', + // baseURL: 'http://192.168.0.33:48082/admin-api', + baseURL: 'http://10.70.2.2:8080/admin-api', timeout: 30000, withCredentials: false }) diff --git a/vue.config.js b/vue.config.js index 2148497..fbbcd78 100644 --- a/vue.config.js +++ b/vue.config.js @@ -8,7 +8,7 @@ const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependencies: true, - + publicPath: './', // 配置代理服务器 devServer: { // proxy: {