@fmdevui/fm-dev 1.0.12 → 1.0.13

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/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! fm-dev v1.0.12 */
1
+ /*! fm-dev v1.0.13 */
2
2
  import { defineComponent, reactive, computed, watch, resolveComponent, createBlock, openBlock, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString as toDisplayString$1, withDirectives, createElementBlock, Fragment, renderList, vShow, ref, onMounted, nextTick, normalizeStyle, createCommentVNode, normalizeClass, resolveDynamicComponent, effectScope, shallowRef, isRef as isRef$1, getCurrentInstance, h, inject, onUnmounted, Text, markRaw, toRaw as toRaw$1, hasInjectionContext, unref, isReactive as isReactive$1, toRef, getCurrentScope, onScopeDispose, toRefs, resolveDirective } from 'vue';
3
3
  import crypto from 'crypto';
4
4
  import require$$0 from 'url';
@@ -6652,7 +6652,8 @@ function elSvg(app) {
6652
6652
  const makeInstaller = (components = []) => {
6653
6653
  const install = (app) => {
6654
6654
  components.forEach((component) => app.component(component.name, component));
6655
- elSvg(app);
6655
+ if (app)
6656
+ elSvg(app);
6656
6657
  };
6657
6658
  return {
6658
6659
  install
@@ -6,7 +6,8 @@ var index = require('./packages/core/ui/components/svgIcon/index.js');
6
6
  const makeInstaller = (components = []) => {
7
7
  const install = (app) => {
8
8
  components.forEach((component) => app.component(component.name, component));
9
- index.elSvg(app);
9
+ if (app)
10
+ index.elSvg(app);
10
11
  };
11
12
  return {
12
13
  install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fmdevui/fm-dev",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Page level components developed based on Element Plus.",
5
5
  "author": "fmdevui",
6
6
  "keywords": [