@fmdeui/fmui 1.0.144 → 1.0.145

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.
@@ -170,7 +170,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
170
170
  };
171
171
  const resetValue = () => {
172
172
  for (let item of props.vGroup) {
173
- if (!item.key || item.key === "name") {
173
+ if (!item.key || item.key === props.vName) {
174
174
  continue;
175
175
  }
176
176
  modelValue.value[item.key] = item.value;
@@ -219,8 +219,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
219
219
  const _component_el_icon = resolveComponent("el-icon");
220
220
  const _component_el_autocomplete = resolveComponent("el-autocomplete");
221
221
  return openBlock(), createBlock(_component_el_autocomplete, {
222
- modelValue: modelValue.value.name,
223
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => modelValue.value.name = $event),
222
+ modelValue: modelValue.value[__props.vName],
223
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => modelValue.value[__props.vName] = $event),
224
224
  debounce: 500,
225
225
  "fetch-suggestions": querySearchAsync,
226
226
  placeholder: props.placeholder,
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! fmdeui-fmui v1.0.144 */
1
+ /*! fmdeui-fmui v1.0.145 */
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) :
@@ -30037,7 +30037,7 @@
30037
30037
  };
30038
30038
  const resetValue = () => {
30039
30039
  for (let item of props.vGroup) {
30040
- if (!item.key || item.key === "name") {
30040
+ if (!item.key || item.key === props.vName) {
30041
30041
  continue;
30042
30042
  }
30043
30043
  modelValue.value[item.key] = item.value;
@@ -30086,8 +30086,8 @@
30086
30086
  const _component_el_icon = vue.resolveComponent("el-icon");
30087
30087
  const _component_el_autocomplete = vue.resolveComponent("el-autocomplete");
30088
30088
  return vue.openBlock(), vue.createBlock(_component_el_autocomplete, {
30089
- modelValue: modelValue.value.name,
30090
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => modelValue.value.name = $event),
30089
+ modelValue: modelValue.value[__props.vName],
30090
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => modelValue.value[__props.vName] = $event),
30091
30091
  debounce: 500,
30092
30092
  "fetch-suggestions": querySearchAsync,
30093
30093
  placeholder: props.placeholder,