@94ai/nf-search-form 3.2.49 → 3.2.51

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.
@@ -7277,6 +7277,9 @@ __sfc_main.setup = (__props, __ctx) => {
7277
7277
  }
7278
7278
  if (!nfSearchFormRef.value)
7279
7279
  return;
7280
+ if (!renderSearchFormItemOptions.value.length) {
7281
+ return;
7282
+ }
7280
7283
  let count = 0;
7281
7284
  const formWidth = nfSearchFormRef.value.$el.offsetWidth;
7282
7285
  nfSearchFormRef.value.formItems.reduce((prev, cur) => {
@@ -7275,6 +7275,9 @@ __sfc_main.setup = (__props, __ctx) => {
7275
7275
  }
7276
7276
  if (!nfSearchFormRef.value)
7277
7277
  return;
7278
+ if (!renderSearchFormItemOptions.value.length) {
7279
+ return;
7280
+ }
7278
7281
  let count = 0;
7279
7282
  const formWidth = nfSearchFormRef.value.$el.offsetWidth;
7280
7283
  nfSearchFormRef.value.formItems.reduce((prev, cur) => {
@@ -905,6 +905,9 @@ const calcColumns = () => {
905
905
  return
906
906
  }
907
907
  if (!nfSearchFormRef.value) return
908
+ if (!renderSearchFormItemOptions.value.length) {
909
+ return
910
+ }
908
911
  let count = 0
909
912
  const formWidth = nfSearchFormRef.value.$el.offsetWidth
910
913
  nfSearchFormRef.value.formItems.reduce((prev, cur) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-search-form",
3
- "version": "3.2.49",
3
+ "version": "3.2.51",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,21 +14,21 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/common-utils": "^3.2.49",
18
- "@94ai/nf-action": "^3.2.49",
19
- "@94ai/nf-double-half-year": "^3.2.49",
20
- "@94ai/nf-double-quarter": "^3.2.49",
21
- "@94ai/nf-double-week": "^3.2.49",
22
- "@94ai/nf-double-year": "^3.2.49",
23
- "@94ai/nf-drawer": "^3.2.49",
24
- "@94ai/nf-form": "^3.2.49",
25
- "@94ai/nf-form-item": "^3.2.49",
26
- "@94ai/nf-half-year-picker": "^3.2.49",
27
- "@94ai/nf-message": "^3.2.49",
28
- "@94ai/nf-quarter-picker": "^3.2.49",
29
- "@94ai/nf-select-transfer": "^3.2.49",
30
- "@94ai/nf-theme-chalk": "^3.2.49",
31
- "@94ai/nf-virtual-select": "^3.2.49",
17
+ "@94ai/common-utils": "^3.2.51",
18
+ "@94ai/nf-action": "^3.2.51",
19
+ "@94ai/nf-double-half-year": "^3.2.51",
20
+ "@94ai/nf-double-quarter": "^3.2.51",
21
+ "@94ai/nf-double-week": "^3.2.51",
22
+ "@94ai/nf-double-year": "^3.2.51",
23
+ "@94ai/nf-drawer": "^3.2.51",
24
+ "@94ai/nf-form": "^3.2.51",
25
+ "@94ai/nf-form-item": "^3.2.51",
26
+ "@94ai/nf-half-year-picker": "^3.2.51",
27
+ "@94ai/nf-message": "^3.2.51",
28
+ "@94ai/nf-quarter-picker": "^3.2.51",
29
+ "@94ai/nf-select-transfer": "^3.2.51",
30
+ "@94ai/nf-theme-chalk": "^3.2.51",
31
+ "@94ai/nf-virtual-select": "^3.2.51",
32
32
  "idb-keyval": "^6.2.1",
33
33
  "resize-observer-polyfill": "^1.5.1",
34
34
  "vue-demi": "^0.14.5",
@@ -47,5 +47,5 @@
47
47
  "types": "lib/index.d.ts",
48
48
  "main": "lib/nf-search-form.cjs.js",
49
49
  "module": "lib/nf-search-form.esm-bundler.js",
50
- "gitHead": "8cbd9254da4ec43f46b29198c0839bf2ba19132d"
50
+ "gitHead": "1c4b9d8c3b8c416274a210124bf9f5f75ce01c73"
51
51
  }