Selaa lähdekoodia

feat: 修复需求中特殊判断业务逻辑2

zhangyuhan 1 viikko sitten
vanhempi
commit
0754ebc463

+ 2 - 1
apps/bigmember_pc/src/views/subscribe/FreeConfig.vue

@@ -267,7 +267,8 @@ export default {
 
 
         this.setData.keyList = editKeyList
-        this.setData.areaStr = '全国'
+        this.setData.areaStr = '请选择区域'
+        this.setData.areaObj = false
         this.setData.infoTypeStr = '全部类型'
         this.setData.matchType = ['title']
 

+ 1 - 1
apps/bigmember_pc/src/views/subscribe/components/key/Edit.vue

@@ -9,7 +9,7 @@
             type="textarea"
             autosize
             resize="none"
-            placeholder="请输入关键词,多个关键词用空格隔开,例如:税务局 软件"
+            :placeholder="'请输入关键词' + (isFreeSubCustom ? '' : ',多个关键词用空格隔开,例如:税务局 软件')"
             debounce="600"
             maxlength="200"
             @input="keywordsInput"

+ 5 - 1
apps/bigmember_pc/src/views/subscribe/components/key/FreeSubConfig.vue

@@ -452,7 +452,11 @@ export default {
     },
     // 区域选择超出冒泡事件
     onExceedChange() {
-      this.dialog.areaMap = true
+      this.$message({
+        message: '超出可订阅省份数量',
+        type: 'error'
+      })
+      // this.dialog.areaMap = true
     },
     goConcatCustomer() {
       this.contactCustomer(this)

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

@@ -372,7 +372,7 @@ export default {
       if (!this.nextDisabled) return this.$toast('请选择关注地区')
       let isFreeEmpty = this.isFree && this.freeSelectedProvince.length === 0
       // 省份订阅包订阅向导问题修复
-      if (this.someInfo.areaCount > 1 && this.vipSelectedProvince.length > 0) {
+      if (this.someInfo.areaCount > 1 && this.vipSelectedProvince) {
         isFreeEmpty = false
       }
       const vipFreeEmpty = !this.isFree && !this.vipSelectedProvince