vue2-client 1.9.115 → 1.9.116

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.9.115",
3
+ "version": "1.9.116",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -843,17 +843,17 @@ export default {
843
843
  if (this.attr.dataChangeFunc) {
844
844
  this.debouncedDataChangeFunc = debounce(this.dataChangeFunc, 200)
845
845
  // 执行一次
846
- debounce(this.dataChangeFunc, 100)()
846
+ this.dataChangeFunc()
847
847
  }
848
848
  if (this.attr.showFormItemFunc) {
849
849
  this.debouncedShowFormItemFunc = debounce(this.showFormItemFunc, 100)
850
850
  // 执行一次
851
- debounce(this.showFormItemFunc, 100)()
851
+ this.showFormItemFunc()
852
852
  }
853
853
  if (this.attr.showQueryFormItemFunc) {
854
854
  this.debouncedShowQueryFormItemFunc = debounce(this.showQueryFormItemFunc, 100)
855
855
  // 执行一次
856
- debounce(this.showQueryFormItemFunc, 100)()
856
+ this.showFormItemFunc()
857
857
  }
858
858
  // 人员联动框增加监听
859
859
  if (this?.attr?.keyName?.toString()?.startsWith('search@根据表单项[') && this?.attr?.keyName?.toString().endsWith(']联动人员')) {
@@ -21,11 +21,13 @@
21
21
  <span class="xFormGroupTitle">{{ item.describe }}</span>
22
22
  </a-col>
23
23
  </a-row>
24
- <template v-if="item.formGroupType === 'slot' && formShow[`show${item.slotName}`]">
25
- <slot :name="item.slotName" :data="allFormData" :index="index">
26
- <a-empty :description="`[${item.describe}:${item.slotName}]插槽没有使用`"/>
27
- </slot>
28
- </template>
24
+ <div v-show="formShow[`show${item.slotName}`]">
25
+ <template v-if="item.formGroupType === 'slot'">
26
+ <slot :name="item.slotName" :data="allFormData" :index="index">
27
+ <a-empty :description="`[${item.describe}:${item.slotName}]插槽没有使用`"/>
28
+ </slot>
29
+ </template>
30
+ </div>
29
31
  <x-add-native-form
30
32
  @x-form-item-emit-func="emitFunc"
31
33
  v-if="item.formGroupType !== 'slot' && formShow[`show${item.groupName}`]"