@deot/vc 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -195,8 +195,7 @@ const createVcPlugin = (options, transfromComponentKey = (x) => x) => {
195
195
  install: (app) => {
196
196
  app.config.globalProperties.$vc = VcInstance.configure(options);
197
197
  Object.keys(Components).forEach((key) => {
198
- key = transfromComponentKey(key) || key;
199
- app.component(key, Components[key]);
198
+ app.component(transfromComponentKey(key) || key, Components[key]);
200
199
  });
201
200
  }
202
201
  };