Skip to content

Commit ac036fb

Browse files
committed
fix: fixed hook name
1 parent 05b4048 commit ac036fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ module.exports = function(api, vueConfig) {
1313
[BUILT_IN]: true,
1414
apply(_api) {
1515
// 修改默认配置
16-
const newVueConfig = _api.applyPluginHooks('modifyCommandHelp', vueConfig);
17-
Object.assign(vueConfig, newVueConfig);
16+
const newVueConfig = _api.applyPluginHooks('modifyVueConfig', vueConfig);
17+
Object.assign(vueConfig, newVueConfig || {});
1818
},
1919
});
2020

0 commit comments

Comments
 (0)