chore: 撤销部署配置

This commit is contained in:
2026-04-28 15:21:05 +08:00
parent 12233b952b
commit 00d488cbc2
3 changed files with 5 additions and 5 deletions

View File

@@ -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)

View File

@@ -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)