Browse Source

出生日期

lifanagju_citu 11 months ago
parent
commit
71a4f21670
1 changed files with 2 additions and 0 deletions
  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,
       },
     },