Преглед изворни кода

feat: 新增需求-无手机号不展示自动开通2

cuiyalong пре 2 месеци
родитељ
комит
1b83c45edf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/create-order/components/schema-form/schema-form.vue

+ 1 - 1
src/views/create-order/components/schema-form/schema-form.vue

@@ -665,7 +665,7 @@ export default {
         // 仅展示自动开通
         productAutoOpen = true
       }
-      const hasPhone = this.pageForm.noPhoneValue.length > 0
+      const hasPhone = this.pageForm.noPhoneValue.length <= 0
       const canAutoOpen = configAutoOpen && productAutoOpen && hasPhone
       return canAutoOpen
     },