瀏覽代碼

更新 'src/mixins/asset.js'

panhui 4 年之前
父節點
當前提交
13fccfa61c
共有 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;
         }
     }
 };