@fmdevui/fm-dev 1.0.109 → 1.0.110

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.109 */
1
+ /*! fm-dev v1.0.110 */
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, withModifiers, mergeModels, useModel, effectScope, getCurrentInstance, shallowRef, isRef as isRef$1, inject, onUnmounted, h, Text, createSlots, renderSlot, markRaw, hasInjectionContext, toRaw as toRaw$1, isReactive as isReactive$1, toRef, unref, getCurrentScope, onScopeDispose, toRefs, resolveDirective, mergeProps, resolveDynamicComponent, useSlots, toHandlers, onBeforeUnmount, onUpdated, useAttrs, normalizeProps, guardReactiveProps } from 'vue';
3
3
  import crypto from 'crypto';
4
4
  import require$$0 from 'url';
@@ -35377,9 +35377,10 @@ const usefminputdropdownstore = defineStore("fminputdropdownstore", () => {
35377
35377
  if (multibasecode.length > 0) {
35378
35378
  const mdata = res.data.result ?? [];
35379
35379
  multibasecode.forEach((p) => {
35380
- state.optionsData[p] = mdata.filter((p2) => {
35381
- return p2.code === p2;
35382
- }) ?? [];
35380
+ const tempdata = mdata.filter((x) => {
35381
+ return x.code == p;
35382
+ });
35383
+ state.optionsData[p] = tempdata ?? [];
35383
35384
  });
35384
35385
  } else {
35385
35386
  return state.optionsData[basecode] = res.data.result ?? [];
@@ -18,9 +18,10 @@ const usefminputdropdownstore = pinia.defineStore("fminputdropdownstore", () =>
18
18
  if (multibasecode.length > 0) {
19
19
  const mdata = res.data.result ?? [];
20
20
  multibasecode.forEach((p) => {
21
- state.optionsData[p] = mdata.filter((p2) => {
22
- return p2.code === p2;
23
- }) ?? [];
21
+ const tempdata = mdata.filter((x) => {
22
+ return x.code == p;
23
+ });
24
+ state.optionsData[p] = tempdata ?? [];
24
25
  });
25
26
  } else {
26
27
  return state.optionsData[basecode] = res.data.result ?? [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fmdevui/fm-dev",
3
- "version": "1.0.109",
3
+ "version": "1.0.110",
4
4
  "description": "Page level components developed based on Element Plus.",
5
5
  "author": "fmdevui",
6
6
  "keywords": [
File without changes