From ef9358aa9fdc25ef468794e3fa1490afe340ecec Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Wed, 5 Mar 2025 15:37:53 +0800 Subject: [PATCH] localhost --- base-vue/src/main.js | 4 ++-- base-vue/static/config/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/base-vue/src/main.js b/base-vue/src/main.js index 5988cba..6381bfe 100644 --- a/base-vue/src/main.js +++ b/base-vue/src/main.js @@ -36,9 +36,9 @@ Vue.prototype.$http = httpRequest // ajax请求方法 Vue.prototype.isAuth = isAuth // 权限方法 Vue.prototype.PubSub = PubSub //组件发布订阅消息 -Vue.prototype.$imgPath = "http://192.168.10.54:8070/base-fast/file/fileController/download?fileName=" +Vue.prototype.$imgPath = "http://localhost:8070/base-fast/file/fileController/download?fileName=" -Vue.prototype.$imgBasePath = "http://192.168.10.54:8070/base-fast/file/fileController/" +Vue.prototype.$imgBasePath = "http://localhost:8070/base-fast/file/fileController/" Vue.prototype.$genders=['男','女'] diff --git a/base-vue/static/config/index.js b/base-vue/static/config/index.js index b935b27..1e536ad 100644 --- a/base-vue/static/config/index.js +++ b/base-vue/static/config/index.js @@ -5,7 +5,7 @@ window.SITE_CONFIG = {}; // api接口请求地址 - window.SITE_CONFIG['baseUrl'] = 'http://192.168.10.54:8070/base-fast'; + window.SITE_CONFIG['baseUrl'] = 'http://localhost:8070/base-fast'; // cdn地址 = 域名 + 版本号 window.SITE_CONFIG['domain'] = './'; // 域名