Преглед изворни кода

feat: (dashboard) i18n setting

gemercheung пре 2 година
родитељ
комит
87725474fa
2 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 2
      src/views/dashboard/analysis/enterprise.vue
  2. 0 1
      src/views/dashboard/analysis/index.vue

+ 2 - 2
src/views/dashboard/analysis/enterprise.vue

@@ -176,8 +176,8 @@
           xxl: 12,
           xxl: 12,
         },
         },
         componentProps: {
         componentProps: {
-          format: 'YYYY-MM-DD HH:mm:ss',
-          placeholder: ['开始时间', '结束时间'],
+          format: 'YYYY-MM-DD',
+          // placeholder: ['开始时间', '结束时间'],
           // showTime: { format: 'HH:mm:ss' },
           // showTime: { format: 'HH:mm:ss' },
           disabledDate(current) {
           disabledDate(current) {
             // console.log('current', current, date);
             // console.log('current', current, date);

+ 0 - 1
src/views/dashboard/analysis/index.vue

@@ -128,7 +128,6 @@
         },
         },
         componentProps: {
         componentProps: {
           format: 'YYYY-MM-DD',
           format: 'YYYY-MM-DD',
-          placeholder: ['开始时间', '结束时间'],
           disabledDate(current) {
           disabledDate(current) {
             // console.log('current', current, date);
             // console.log('current', current, date);
             return current && current > dateUtil().endOf('day');
             return current && current > dateUtil().endOf('day');