Ver código fonte

二手市场

panhui 4 anos atrás
pai
commit
057c098ddc
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      .env.development
  2. 1 1
      src/mixins/product.js

+ 1 - 1
.env.development

@@ -1,4 +1,4 @@
-VUE_APP_BASE_URL=https://test.raex.vip
+VUE_APP_BASE_URL=https://www.raex.vip
 NODE_ENV=development
 VUE_APP_PUBLIC_PATH=/
 ASSETS_PATH=raex

+ 1 - 1
src/mixins/product.js

@@ -58,7 +58,7 @@ export default {
             return this.info && this.info.soldOut && this.info.salable;
         },
         isSolded() {
-            return this.info && !this.info.noSoldOut && this.info.salable;
+            return this.info && !this.info.noSoldOut && this.info.salable && this.info.source === 'OFFICIAL';
         },
         assignment() {
             return this.info.assignment || 0;