Prechádzať zdrojové kódy

feat: 剩余判断修复

zhangyuhan 4 rokov pred
rodič
commit
6ea84f2db0

+ 1 - 1
src/jfw/modules/app/src/web/staticres/jyapp/big-member/js/ent_portrait.js

@@ -208,7 +208,7 @@ var vNode = {
             return (!this.conf._4 && !this.isVip) || (this.entvisit.total < this.entvisit.usage && this.powerInfo.memberStatus <= 0 && !this.entvisit.visited)
         },
         surplus: function () {
-            return this.entvisit.total >= this.entvisit.usage
+            return this.entvisit.total > this.entvisit.usage
         }
     },
     methods: {

+ 1 - 1
src/web/staticres/common-module/collection/js/ent_portrait.js

@@ -207,7 +207,7 @@ var vNode = {
             return (!this.conf._4 && !this.isVip) || (this.entvisit.total < this.entvisit.usage && this.powerInfo.memberStatus <= 0 && !this.entvisit.visited)
         },
         surplus: function () {
-            return this.entvisit.total >= this.entvisit.usage
+            return this.entvisit.total > this.entvisit.usage
         }
     },
     methods: {