From 99e565291ccf0dbab852cec1cc8fe7373389e2f3 Mon Sep 17 00:00:00 2001 From: "lihao.ylh" Date: Tue, 30 Nov 2021 10:00:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BC=95=E5=85=A5=20l?= =?UTF-8?q?odash.some=20=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/types/src/prop-config.ts | 2 +- packages/utils/src/css-helper.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/src/prop-config.ts b/packages/types/src/prop-config.ts index 21b285fc4..ba97b4396 100644 --- a/packages/types/src/prop-config.ts +++ b/packages/types/src/prop-config.ts @@ -43,5 +43,5 @@ export interface PropConfig { propType: PropType; description?: string; defaultValue?: any; - setter?: any + setter?: any; } diff --git a/packages/utils/src/css-helper.ts b/packages/utils/src/css-helper.ts index b57cfe954..690149d58 100644 --- a/packages/utils/src/css-helper.ts +++ b/packages/utils/src/css-helper.ts @@ -4,7 +4,7 @@ */ // 需要通过 Env 来判断是否需要 -import some from 'lodash.some'; +import { some } from 'lodash'; const pseudoMap = ['hover', 'focus', 'active', 'visited'];