From 12233b952b5225a8b9ab1baea4f90e9ff1f3099b Mon Sep 17 00:00:00 2001 From: zhangyahui Date: Tue, 28 Apr 2026 15:05:20 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=83=A8=E7=BD=B2=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E6=9A=82=E6=97=B6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 2 +- src/store/seller/index.ts | 6 +++--- src/tool/https.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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)