Prechádzať zdrojové kódy

change: 站点信息请求逻辑调整.

peter 7 mesiacov pred
rodič
commit
dfdf2f039d
1 zmenil súbory, kde vykonal 2 pridanie a 5 odobranie
  1. 2 5
      store/index.js

+ 2 - 5
store/index.js

@@ -49,11 +49,8 @@ export const actions = {
       if (ctx.state.shopInfo && !ctx.state.shopInfo.id) {
       if (ctx.state.shopInfo && !ctx.state.shopInfo.id) {
         this.$axios
         this.$axios
           .post(
           .post(
-            `/c-api/logo/info/${
-              !/promocatalogue/.test(location.hostname)
-                ? 'kkburwoodvicl.promocatalogue.com.au'
-                : encodeURIComponent(location.hostname)
-            }`
+            `/c-api/logo/info/${encodeURIComponent(location.hostname)}`
+            // 'kkburwoodvicl.promocatalogue.com.au'
           )
           )
           .then(res => {
           .then(res => {
             ctx.commit('setShopInfo', res.result)
             ctx.commit('setShopInfo', res.result)