@94ai/nf-table 5.0.2 → 5.0.6

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.
@@ -5410,7 +5410,8 @@ __sfc_main$1.setup = (__props, __ctx) => {
5410
5410
  const handleSearch = (str) => {
5411
5411
  searchValue = [];
5412
5412
  currentTable.value.map((i) => {
5413
- if ((i.addLabel || i.label).includes(str)) {
5413
+ var _a2;
5414
+ if ((_a2 = i.addLabel || i.label) == null ? void 0 : _a2.includes(str)) {
5414
5415
  searchValue.push(i);
5415
5416
  }
5416
5417
  });
@@ -5408,7 +5408,8 @@ __sfc_main$1.setup = (__props, __ctx) => {
5408
5408
  const handleSearch = (str) => {
5409
5409
  searchValue = [];
5410
5410
  currentTable.value.map((i) => {
5411
- if ((i.addLabel || i.label).includes(str)) {
5411
+ var _a2;
5412
+ if ((_a2 = i.addLabel || i.label) == null ? void 0 : _a2.includes(str)) {
5412
5413
  searchValue.push(i);
5413
5414
  }
5414
5415
  });
@@ -290,7 +290,7 @@ let searchValue: Record<string, any>[] = [] // 搜索结果
290
290
  const handleSearch = (str) => {
291
291
  searchValue = []
292
292
  currentTable.value.map(i => {
293
- if ((i.addLabel || i.label).includes(str)) {
293
+ if ((i.addLabel || i.label)?.includes(str)) {
294
294
  searchValue.push(i)
295
295
  }
296
296
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-table",
3
- "version": "5.0.2",
3
+ "version": "5.0.6",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,12 +14,12 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/common-utils": "^5.0.2",
18
- "@94ai/nf-button": "^5.0.2",
19
- "@94ai/nf-drawer": "^5.0.2",
20
- "@94ai/nf-message": "^5.0.2",
21
- "@94ai/nf-search-form": "^5.0.2",
22
- "@94ai/nf-theme-chalk": "^5.0.2",
17
+ "@94ai/common-utils": "^5.0.6",
18
+ "@94ai/nf-button": "^5.0.6",
19
+ "@94ai/nf-drawer": "^5.0.6",
20
+ "@94ai/nf-message": "^5.0.6",
21
+ "@94ai/nf-search-form": "^5.0.6",
22
+ "@94ai/nf-theme-chalk": "^5.0.6",
23
23
  "idb-keyval": "^6.2.1",
24
24
  "vue-demi": "^0.14.5",
25
25
  "vuedraggable": "^2.24.3"
@@ -37,5 +37,5 @@
37
37
  "types": "lib/index.d.ts",
38
38
  "main": "lib/nf-table.cjs.js",
39
39
  "module": "lib/nf-table.esm-bundler.js",
40
- "gitHead": "aa1452ca2a4e0549d27ac202269b5d97b43a2bc1"
40
+ "gitHead": "a7667792044ecc753e5d7ed1240fa08785c7e2e9"
41
41
  }