소스 검색

出生日期

lifanagju_citu 11 달 전
부모
커밋
71a4f21670
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/views/resume/components/basicInfo.vue

+ 2 - 0
src/views/resume/components/basicInfo.vue

@@ -194,10 +194,12 @@ const formItems = ref({
       default: null,
       col: 6,
       class: 'mb-3',
+      rules: [v => !!v || '请选择出生日期'],
       options: {
         type: 'date',
         format: 'timestamp',
         placeholder: '出生日期 *',
+        clearable: false,
         // disabled: true,
       },
     },