From 090d8440147f044f8b2659488b0c95f99c357398 Mon Sep 17 00:00:00 2001 From: vben Date: Thu, 11 Nov 2021 22:28:39 +0800 Subject: [PATCH] fix: type, #1347 --- index.html | 6 ------ src/utils/dateUtil.ts | 2 +- windi.config.ts | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 25d1cd72..f615e97c 100644 --- a/index.html +++ b/index.html @@ -48,7 +48,6 @@ left: 50%; display: flex; transform: translate3d(-50%, -50%, 0); - transform: translate3d(-50%, -50%, 0); justify-content: center; align-items: center; flex-direction: column; @@ -111,32 +110,27 @@ top: 0; right: 0; animation-delay: 0.4s; - animation-delay: 0.4s; } .dot i:nth-child(3) { right: 0; bottom: 0; animation-delay: 0.8s; - animation-delay: 0.8s; } .dot i:nth-child(4) { bottom: 0; left: 0; animation-delay: 1.2s; - animation-delay: 1.2s; } @keyframes antRotate { to { transform: rotate(405deg); - transform: rotate(405deg); } } @keyframes antRotate { to { transform: rotate(405deg); - transform: rotate(405deg); } } @keyframes antSpinMove { diff --git a/src/utils/dateUtil.ts b/src/utils/dateUtil.ts index 1ea97249..5502b6bf 100644 --- a/src/utils/dateUtil.ts +++ b/src/utils/dateUtil.ts @@ -4,7 +4,7 @@ import moment from 'moment'; const DATE_TIME_FORMAT = 'YYYY-MM-DD HH:mm:ss'; -const DATE_FORMAT = 'YYYY-MM-DD '; +const DATE_FORMAT = 'YYYY-MM-DD'; export function formatToDateTime( date: moment.MomentInput = undefined, diff --git a/windi.config.ts b/windi.config.ts index ff1aba23..4733d46a 100644 --- a/windi.config.ts +++ b/windi.config.ts @@ -27,7 +27,7 @@ export default defineConfig({ * Used for animation when the element is displayed * @param maxOutput The larger the maxOutput output, the larger the generated css volume */ -function createEnterPlugin(maxOutput = 7) { +function createEnterPlugin(maxOutput = 6) { const createCss = (index: number, d = 'x') => { const upd = d.toUpperCase(); return { -- GitLab