From ebdcaad967b7c9b33d0ea48e956ef28e9334db11 Mon Sep 17 00:00:00 2001 From: wwl Date: Wed, 10 Apr 2024 16:13:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=8E=BB=E6=8E=89=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 6 +++--- src/pages/cart/espier-checkout.js | 2 +- src/pages/index.js | 5 ----- src/subpage/pages/trade/comps/new-item.js | 2 +- src/subpage/pages/trade/list.js | 2 +- 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.env.development b/.env.development index 133da8c..008f505 100755 --- a/.env.development +++ b/.env.development @@ -1,8 +1,8 @@ -APP_BASE_URL=https://slb.birkenstock.net.cn/api/h5app/wxapp -APP_WEBSOCKET=wss://slb.birkenstock.net.cn/ws +APP_BASE_URL=https://test.birkenstock.net.cn/api/h5app/wxapp +APP_WEBSOCKET=wss://test.birkenstock.net.cn/ws APP_COMPANY_ID=1 APP_PLATFORM=standard -APP_CUSTOM_SERVER=https://slb.birkenstock.net.cn/ +APP_CUSTOM_SERVER=https://test.birkenstock.net.cn/ APP_HOME_PAGE=/pages/index APP_TRACK=youshu APP_YOUSHU_TOKEN=bi281e87ab2424481a diff --git a/src/pages/cart/espier-checkout.js b/src/pages/cart/espier-checkout.js index 213c951..ddc80b8 100755 --- a/src/pages/cart/espier-checkout.js +++ b/src/pages/cart/espier-checkout.js @@ -1096,7 +1096,7 @@ function CartCheckout (props) { /> )} - {!bargain_id && ( + {process.env.NODE_ENV === "development" && !bargain_id && ( { - if (swiperList?.length) { - setState((draft) => { - draft.loading = false - }) - } fetchLocation() // 非云店 if (!VERSION_STANDARD) { diff --git a/src/subpage/pages/trade/comps/new-item.js b/src/subpage/pages/trade/comps/new-item.js index 03835e9..a8b4efa 100755 --- a/src/subpage/pages/trade/comps/new-item.js +++ b/src/subpage/pages/trade/comps/new-item.js @@ -313,7 +313,7 @@ export default class TradeItem extends Component { ) : null} */} { - !info.aftersales_bn && info.is_rate != 1 && ( + info.can_apply_aftersales === 1 && !info.aftersales_bn && info.is_rate != 1 && (