@deot/vc 1.0.1 → 1.0.3

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.cjs CHANGED
@@ -157,8 +157,8 @@ const Components = {
157
157
  // MTableColumn,
158
158
  Tabs: vcComponents.Tabs,
159
159
  MTabs: vcComponents.MTabs,
160
- // TabsPane,
161
- // MTabsPane,
160
+ TabsPane: vcComponents.TabsPane,
161
+ MTabsPane: vcComponents.MTabsPane,
162
162
  Tag: vcComponents.Tag,
163
163
  MTag: vcComponents.MTag,
164
164
  Text: vcComponents.Text,
@@ -199,8 +199,7 @@ const createVcPlugin = (options, transfromComponentKey = (x) => x) => {
199
199
  install: (app) => {
200
200
  app.config.globalProperties.$vc = vcComponents.VcInstance.configure(options);
201
201
  Object.keys(Components).forEach((key) => {
202
- key = transfromComponentKey(key) || key;
203
- app.component(key, Components[key]);
202
+ app.component(transfromComponentKey(key) || key, Components[key]);
204
203
  });
205
204
  }
206
205
  };