Browse Source

update case (#3858)

Electrolux 10 months ago
parent
commit
821238ea04
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/demo/form/RuleForm.vue

+ 3 - 2
src/views/demo/form/RuleForm.vue

@@ -18,7 +18,8 @@
   import { useMessage } from '@/hooks/web/useMessage';
   import { PageWrapper } from '@/components/Page';
   import { isAccountExist } from '@/api/demo/system';
-
+  import dayjs from "dayjs"
+  
   const schemas: FormSchema[] = [
     {
       field: 'field1',
@@ -235,7 +236,7 @@
       field5: ['1'],
       field7: '1',
       field33: '2020-12-12',
-      field3: '2020-12-12',
+      field3: dayjs('2020-12-12',"YYYY-MM-DD"),
     });
   }