fix: 修复引入 lodash.some 报错的问题

This commit is contained in:
lihao.ylh 2021-11-30 10:00:36 +08:00
parent d6bd2aa7f4
commit 99e565291c
2 changed files with 2 additions and 2 deletions

View File

@ -43,5 +43,5 @@ export interface PropConfig {
propType: PropType;
description?: string;
defaultValue?: any;
setter?: any
setter?: any;
}

View File

@ -4,7 +4,7 @@
*/
// 需要通过 Env 来判断是否需要
import some from 'lodash.some';
import { some } from 'lodash';
const pseudoMap = ['hover', 'focus', 'active', 'visited'];