@fmdeui/fmui 1.0.148 → 1.0.149

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.
@@ -111,11 +111,13 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
111
111
  if (props.optionData.length > 0) {
112
112
  state.optionData = props.optionData;
113
113
  }
114
+ });
115
+ const handClick = async () => {
114
116
  if (props.autoLoadData && props.basecode && props.basecode != "") {
115
117
  const useBaseApi = usefminputdropdownstore();
116
118
  state.optionData = await useBaseApi.getOptionsData(props.apiService, props.apiAction, props.basecode, false, props.multibasecode);
117
119
  }
118
- });
120
+ };
119
121
  const handRestdata = async () => {
120
122
  if (props.basecode && props.basecode != "") {
121
123
  const useBaseApi = usefminputdropdownstore();
@@ -174,7 +176,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
174
176
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValueName.value = $event),
175
177
  placeholder: props.placeholder,
176
178
  style: normalizeStyle({ width: __props.inputWidth }),
177
- onChange: handelChange
179
+ onChange: handelChange,
180
+ onClick: handClick
178
181
  }, {
179
182
  suffix: withCtx(() => [
180
183
  createVNode(_component_el_icon, {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.148 */
1
+ /*! fmdeui-fmui v1.0.149 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
@@ -27289,11 +27289,13 @@
27289
27289
  if (props.optionData.length > 0) {
27290
27290
  state.optionData = props.optionData;
27291
27291
  }
27292
+ });
27293
+ const handClick = async () => {
27292
27294
  if (props.autoLoadData && props.basecode && props.basecode != "") {
27293
27295
  const useBaseApi = usefminputdropdownstore();
27294
27296
  state.optionData = await useBaseApi.getOptionsData(props.apiService, props.apiAction, props.basecode, false, props.multibasecode);
27295
27297
  }
27296
- });
27298
+ };
27297
27299
  const handRestdata = async () => {
27298
27300
  if (props.basecode && props.basecode != "") {
27299
27301
  const useBaseApi = usefminputdropdownstore();
@@ -27352,7 +27354,8 @@
27352
27354
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValueName.value = $event),
27353
27355
  placeholder: props.placeholder,
27354
27356
  style: vue.normalizeStyle({ width: __props.inputWidth }),
27355
- onChange: handelChange
27357
+ onChange: handelChange,
27358
+ onClick: handClick
27356
27359
  }, {
27357
27360
  suffix: vue.withCtx(() => [
27358
27361
  vue.createVNode(_component_el_icon, {