panhui 4 жил өмнө
parent
commit
de19ea79bf

+ 3 - 1
src/views/product/Detail.vue

@@ -639,7 +639,9 @@ export default {
                         message: '您的vip购买次数已经用完啦,请完成邀请任务继续购买吧~'
                         message: '您的vip购买次数已经用完啦,请完成邀请任务继续购买吧~'
                     })
                     })
                     .then(res => {
                     .then(res => {
-                        this.share();
+                        if (this.info.totalQuota) {
+                            this.share();
+                        }
                     });
                     });
             } else {
             } else {
                 this.buy();
                 this.buy();