Просмотр исходного кода

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

panhui 4 лет назад
Родитель
Сommit
e39a7c2b61
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      src/mixins/asset.js

+ 5 - 1
src/mixins/asset.js

@@ -31,7 +31,11 @@ export default {
     },
     computed: {
         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;
         }
     }
 };