Explorar el Código

Merge branch 'master' of http://git.izouma.com/xiongzhu/raex_front into dev

panhui hace 4 años
padre
commit
e39a7c2b61
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      src/mixins/asset.js

+ 5 - 1
src/mixins/asset.js

@@ -31,7 +31,11 @@ export default {
     },
     },
     computed: {
     computed: {
         opened() {
         opened() {
-            return this.info ? (this.info.type === 'BLIND_BOX' ? this.info.opened : true) : true;
+            return this.info
+                ? this.info.type === 'BLIND_BOX' && !this.info.fromAssetId
+                    ? this.info.opened
+                    : true
+                : true;
         }
         }
     }
     }
 };
 };