diff --git a/.env.dev b/.env.dev index 89ea00da..b39fcc14 100644 --- a/.env.dev +++ b/.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.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' diff --git a/src/store/seller/index.ts b/src/store/seller/index.ts index a72b3227..cc60b5fe 100644 --- a/src/store/seller/index.ts +++ b/src/store/seller/index.ts @@ -60,9 +60,9 @@ const seller: Module = { 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) diff --git a/src/tool/https.js b/src/tool/https.js index f88c16ca..864c18ad 100644 --- a/src/tool/https.js +++ b/src/tool/https.js @@ -25,7 +25,7 @@ import store from '@/store' // httpIp = '' // } const isDev = import.meta.env.VITE_USER_NODE_ENV == 'development' -const baseURL = isDev ? '' : import.meta.env.VITE_APP_BASE_URL +const baseURL = 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)