浏览代码

feat: 修复省份订阅包订阅向导问题

zhangyuhan 1 周之前
父节点
当前提交
4cddf7e847
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      apps/mobile/src/views/subscribe/Guide.vue

+ 2 - 2
apps/mobile/src/views/subscribe/Guide.vue

@@ -235,7 +235,7 @@ export default {
       'vSwitch'
     ]),
     isAreaVip () {
-      return this.isFree && this.someInfo.areaCount > 1
+      return this.isFree && (this.someInfo.areaCount > 1 || this.someInfo.areaCount === -1)
     },
     provinceList() {
       return this.expand ? onlyProvinceList : onlyProvinceList.slice(0, 12)
@@ -375,7 +375,7 @@ export default {
       if (!this.nextDisabled) return this.$toast('请选择关注地区')
       let isFreeEmpty = this.isFree && this.freeSelectedProvince.length === 0
       // 省份订阅包订阅向导问题修复
-      if (this.someInfo.areaCount > 1 && this.vipSelectedProvince) {
+      if (this.isAreaVip && this.vipSelectedProvince) {
         isFreeEmpty = false
       }
       const vipFreeEmpty = !this.isFree && !this.vipSelectedProvince