unify-external-plugin-platform 0.0.2-11 → 0.0.2-12

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.
@@ -2369,14 +2369,6 @@ var component = normalizeComponent(
2369
2369
  )
2370
2370
 
2371
2371
  /* harmony default export */ var zs_empty = (component.exports);
2372
- ;// CONCATENATED MODULE: ./packages/zs-empty/index.ts
2373
-
2374
- // 组件的install方法用于按需引入
2375
- // @ts-ignore
2376
- zs_empty.install = Vue => {
2377
- Vue.component(zs_empty.name, zs_empty);
2378
- };
2379
- /* harmony default export */ var packages_zs_empty = (zs_empty);
2380
2372
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-85.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/id-card-reader-demo/src/id-card-reader-demo.vue?vue&type=template&id=0c496452&scoped=true&
2381
2373
  var id_card_reader_demovue_type_template_id_0c496452_scoped_true_render = function render() {
2382
2374
  var _vm = this,
@@ -3047,13 +3039,14 @@ scanner_high_camera_jieyu.install = Vue => {
3047
3039
 
3048
3040
 
3049
3041
  // 组件列表
3050
- const components = [packages_zs_empty, packages_id_card_reader_demo, packages_scanner_high_camera_jieyu];
3042
+ const components = [zs_empty, packages_id_card_reader_demo, packages_scanner_high_camera_jieyu];
3051
3043
  // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,那么所有的组件都会被注册
3052
3044
  const install = Vue => {
3053
3045
  // 判断是否安装
3054
3046
  // if (install.installed) return
3055
3047
  // 遍历注册全局组件
3056
- components.forEach(component => Vue.component(component.name, component));
3048
+ Vue.component(zs_empty.name, zs_empty);
3049
+ // components.forEach(component => Vue.component(component.name, component))
3057
3050
  };
3058
3051
  // 判断是否是直接引入文件
3059
3052
  if (typeof window !== 'undefined' && window.Vue) {