Browse Source

localhost

master
蔡玲玲 4 weeks ago
parent
commit
ef9358aa9f
  1. 4
      base-vue/src/main.js
  2. 2
      base-vue/static/config/index.js

4
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=['男','女']

2
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'] = './'; // 域名

Loading…
Cancel
Save