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.
@@ -2351,14 +2351,6 @@ var component = normalizeComponent(
2351
2351
  )
2352
2352
 
2353
2353
  /* harmony default export */ var zs_empty = (component.exports);
2354
- ;// CONCATENATED MODULE: ./packages/zs-empty/index.ts
2355
-
2356
- // 组件的install方法用于按需引入
2357
- // @ts-ignore
2358
- zs_empty.install = Vue => {
2359
- Vue.component(zs_empty.name, zs_empty);
2360
- };
2361
- /* harmony default export */ var packages_zs_empty = (zs_empty);
2362
2354
  ;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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&
2363
2355
  var id_card_reader_demovue_type_template_id_0c496452_scoped_true_render = function render() {
2364
2356
  var _vm = this,
@@ -3029,13 +3021,14 @@ scanner_high_camera_jieyu.install = Vue => {
3029
3021
 
3030
3022
 
3031
3023
  // 组件列表
3032
- const components = [packages_zs_empty, packages_id_card_reader_demo, packages_scanner_high_camera_jieyu];
3024
+ const components = [zs_empty, packages_id_card_reader_demo, packages_scanner_high_camera_jieyu];
3033
3025
  // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,那么所有的组件都会被注册
3034
3026
  const install = Vue => {
3035
3027
  // 判断是否安装
3036
3028
  // if (install.installed) return
3037
3029
  // 遍历注册全局组件
3038
- components.forEach(component => Vue.component(component.name, component));
3030
+ Vue.component(zs_empty.name, zs_empty);
3031
+ // components.forEach(component => Vue.component(component.name, component))
3039
3032
  };
3040
3033
  // 判断是否是直接引入文件
3041
3034
  if (typeof window !== 'undefined' && window.Vue) {