Browse Source

perf 小改动

master
zhangqi 2 years ago
parent
commit
e99235a8f2
  1. 1
      src/App.vue
  2. 2
      src/api/urls.js

1
src/App.vue

@ -40,7 +40,6 @@ export default {
}, },
filterStreet (data) { filterStreet (data) {
var res = [] var res = []
console.log(data)
data.forEach(el => { data.forEach(el => {
if (el.regionLevel !== 4) { if (el.regionLevel !== 4) {
res.push(el) res.push(el)

2
src/api/urls.js

@ -4,7 +4,7 @@ export const baseUrl_img = 'https://qiniu.haidapu.com/' // 图片基地址
console.log(process.env.NODE_ENV) console.log(process.env.NODE_ENV)
// export const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.3.200:8006/' : 'http://haidapu.com:8006/' // export const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.3.200:8006/' : 'http://haidapu.com:8006/'
// export const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.3.200:8006/' : 'http://10.75.5.161:8006/' // export const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.3.200:8006/' : 'http://10.75.5.161:8006/'
export const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.3.200:8006/' : 'http://220.191.224.174:8006/'
export const baseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.3.250:8006/' : 'http://220.191.224.174:8006/'
// 获取图形验证码 // 获取图形验证码
export const getVerify = 'shaoxing-plat/v1/login-log/verify' export const getVerify = 'shaoxing-plat/v1/login-log/verify'
// 登录 get // 登录 get

Loading…
Cancel
Save