Browse Source

feat: 附件下载本月剩余次数取值处理

zhangsiya 10 months ago
parent
commit
1cda18a02d

+ 1 - 4
apps/bigmember_pc/src/composables/attachment-download/component/AttachmentDownload.vue

@@ -139,10 +139,7 @@ export default {
       }
     },
     fileNum() {
-      if (this.resourcePack.number > 0) {
-        return this.resourcePack.number
-      }
-      return this.power?.fileNum || 0
+      return this.resourcePack.number
     },
     isNewSuper() {
       return this.power.viper && this.isSuper