chore: 撤销部署配置
This commit is contained in:
2
.env.dev
2
.env.dev
@@ -9,6 +9,6 @@ VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk'
|
|||||||
# VITE_APP_BASE_URL = 'http://192.168.31.118:5567'
|
# VITE_APP_BASE_URL = 'http://192.168.31.118:5567'
|
||||||
# 李天祥
|
# 李天祥
|
||||||
# VITE_APP_BASE_URL = 'http://192.168.31.82:5567'
|
# VITE_APP_BASE_URL = 'http://192.168.31.82:5567'
|
||||||
# VITE_APP_BASE_URL = 'http://192.168.31.82:5569'
|
VITE_APP_BASE_URL = 'http://192.168.31.82:5569'
|
||||||
# 海波
|
# 海波
|
||||||
# VITE_APP_BASE_URL = 'http://192.168.31.34:5567'
|
# VITE_APP_BASE_URL = 'http://192.168.31.34:5567'
|
||||||
|
|||||||
@@ -60,9 +60,9 @@ const seller: Module<Seller, RootState> = {
|
|||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
get_isSeller({ commit }) {
|
get_isSeller({ commit }) {
|
||||||
// Https.axiosGet(Https.httpUrls.checkSellerDesigner).then(rv => {
|
Https.axiosGet(Https.httpUrls.checkSellerDesigner).then(rv => {
|
||||||
// commit('set_isSeller', !!rv)
|
commit('set_isSeller', !!rv)
|
||||||
// })
|
})
|
||||||
},
|
},
|
||||||
async get_designerInfo({ commit }) {
|
async get_designerInfo({ commit }) {
|
||||||
const rv = await Https.axiosGet(Https.httpUrls.getDesignerInfo)
|
const rv = await Https.axiosGet(Https.httpUrls.getDesignerInfo)
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import store from '@/store'
|
|||||||
// httpIp = ''
|
// httpIp = ''
|
||||||
// }
|
// }
|
||||||
const isDev = import.meta.env.VITE_USER_NODE_ENV == 'development'
|
const isDev = import.meta.env.VITE_USER_NODE_ENV == 'development'
|
||||||
const baseURL = import.meta.env.VITE_APP_BASE_URL
|
const baseURL = isDev ? '' : import.meta.env.VITE_APP_BASE_URL
|
||||||
axios.defaults.baseURL = baseURL; // isDev ? '' : import.meta.env.VITE_APP_BASE_URL; //配置接口地址
|
axios.defaults.baseURL = baseURL; // isDev ? '' : import.meta.env.VITE_APP_BASE_URL; //配置接口地址
|
||||||
console.log(import.meta.env.VITE_APP_BASE_URL, baseURL)
|
console.log(import.meta.env.VITE_APP_BASE_URL, baseURL)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user