Browse Source

fix:perfect_calendar-time

ananzhusen 1 year ago
parent
commit
506aafaf9e
1 changed files with 17 additions and 1 deletions
  1. 17 1
      src/services/defaults.ts

+ 17 - 1
src/services/defaults.ts

@@ -1348,7 +1348,7 @@ export const formComponents = [
         },
       },
       {
-        name: '日历',
+        name: '日历(日期)',
         icon: 'l-rili',
         data: {
           width: 280,
@@ -1362,6 +1362,22 @@ export const formComponents = [
           text:'8月'
         },
       },
+      {
+        name: '日历(日期时间)',
+        icon: 'l-rili',
+        data: {
+          width: 496,
+          height: 326,
+          hiddenText: true,
+          name: 'calendar',
+          background: '#fff0',
+          hoverTextColor: '#fff',
+          dbInput:true,
+          // input: true,
+          text: '8月',
+          calendarType:'time'
+        },
+      },
     ],
   },
   {