chore: 撤销部署配置
This commit is contained in:
@@ -60,9 +60,9 @@ const seller: Module<Seller, RootState> = {
|
||||
|
||||
actions: {
|
||||
get_isSeller({ commit }) {
|
||||
// Https.axiosGet(Https.httpUrls.checkSellerDesigner).then(rv => {
|
||||
// commit('set_isSeller', !!rv)
|
||||
// })
|
||||
Https.axiosGet(Https.httpUrls.checkSellerDesigner).then(rv => {
|
||||
commit('set_isSeller', !!rv)
|
||||
})
|
||||
},
|
||||
async get_designerInfo({ commit }) {
|
||||
const rv = await Https.axiosGet(Https.httpUrls.getDesignerInfo)
|
||||
|
||||
@@ -25,7 +25,7 @@ import store from '@/store'
|
||||
// httpIp = ''
|
||||
// }
|
||||
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; //配置接口地址
|
||||
console.log(import.meta.env.VITE_APP_BASE_URL, baseURL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user