Browse Source

出生日期

lifanagju_citu 11 tháng trước cách đây
mục cha
commit
71a4f21670
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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,
       },
     },