Skip to content

Commit bc1a10c

Browse files
committed
fix: update user configuration path to use api.userConfig for Ant Design Vue support
1 parent 7985ae8 commit bc1a10c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export default (api: IApi) => {
179179
});
180180

181181
// 获取用户配置,如果没有配置则使用默认值
182-
const userConfig = api.config.antdv || {};
182+
const userConfig = api.userConfig.antdv || {};
183183
const resolverConfig = {
184184
// 排除的组件列表:默认为空数组
185185
...(userConfig.exclude &&

0 commit comments

Comments
 (0)