@fmdevui/fm-dev 1.0.67 → 1.0.68

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.67 */
1
+ /*! fm-dev v1.0.68 */
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, resolveDirective, unref, resolveDynamicComponent, markRaw, toRaw as toRaw$1, hasInjectionContext, isReactive as isReactive$1, toRef, getCurrentScope, onScopeDispose, toRefs } from 'vue';
3
3
  import crypto from 'crypto';
4
4
  import require$$0 from 'url';
@@ -23953,11 +23953,12 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
23953
23953
  onMounted(async () => {
23954
23954
  state.optionData = props.optionData;
23955
23955
  if (props.basecode && props.basecode != "") {
23956
- const res = useBaseApi(props.apiService).get(null, props.apiAction + "/" + props.basecode);
23956
+ const res = useBaseApi(props.apiService).get(null, props.apiAction + "/?codetype=" + props.basecode);
23957
23957
  state.optionData = res.data.result ?? [];
23958
23958
  }
23959
23959
  });
23960
23960
  return (_ctx, _cache) => {
23961
+ const _component_el_button = resolveComponent("el-button");
23961
23962
  const _component_el_input = resolveComponent("el-input");
23962
23963
  const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
23963
23964
  const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
@@ -24007,7 +24008,19 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
24007
24008
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValueName.value = $event),
24008
24009
  placeholder: props.placeholder,
24009
24010
  style: normalizeStyle({ width: __props.inputWidth })
24010
- }, null, 8, ["modelValue", "placeholder", "style"])
24011
+ }, {
24012
+ append: withCtx(() => [
24013
+ createVNode(_component_el_button, { text: "" }, {
24014
+ default: withCtx(() => _cache[1] || (_cache[1] = [
24015
+ createTextVNode("\u5237\u65B0")
24016
+ ])),
24017
+ _: 1,
24018
+ __: [1]
24019
+ })
24020
+ ]),
24021
+ _: 1
24022
+ /* STABLE */
24023
+ }, 8, ["modelValue", "placeholder", "style"])
24011
24024
  ]),
24012
24025
  _: 1
24013
24026
  /* STABLE */
@@ -93,11 +93,12 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
93
93
  vue.onMounted(async () => {
94
94
  state.optionData = props.optionData;
95
95
  if (props.basecode && props.basecode != "") {
96
- const res = index.useBaseApi(props.apiService).get(null, props.apiAction + "/" + props.basecode);
96
+ const res = index.useBaseApi(props.apiService).get(null, props.apiAction + "/?codetype=" + props.basecode);
97
97
  state.optionData = res.data.result ?? [];
98
98
  }
99
99
  });
100
100
  return (_ctx, _cache) => {
101
+ const _component_el_button = vue.resolveComponent("el-button");
101
102
  const _component_el_input = vue.resolveComponent("el-input");
102
103
  const _component_el_dropdown_item = vue.resolveComponent("el-dropdown-item");
103
104
  const _component_el_dropdown_menu = vue.resolveComponent("el-dropdown-menu");
@@ -147,7 +148,19 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
147
148
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValueName.value = $event),
148
149
  placeholder: props.placeholder,
149
150
  style: vue.normalizeStyle({ width: __props.inputWidth })
150
- }, null, 8, ["modelValue", "placeholder", "style"])
151
+ }, {
152
+ append: vue.withCtx(() => [
153
+ vue.createVNode(_component_el_button, { text: "" }, {
154
+ default: vue.withCtx(() => _cache[1] || (_cache[1] = [
155
+ vue.createTextVNode("\u5237\u65B0")
156
+ ])),
157
+ _: 1,
158
+ __: [1]
159
+ })
160
+ ]),
161
+ _: 1
162
+ /* STABLE */
163
+ }, 8, ["modelValue", "placeholder", "style"])
151
164
  ]),
152
165
  _: 1
153
166
  /* STABLE */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fmdevui/fm-dev",
3
- "version": "1.0.67",
3
+ "version": "1.0.68",
4
4
  "description": "Page level components developed based on Element Plus.",
5
5
  "author": "fmdevui",
6
6
  "keywords": [
File without changes