@94ai/nf-table 5.0.3 → 5.0.7
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/lib/nf-table.cjs.js
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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)
|
|
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.
|
|
3
|
+
"version": "5.0.7",
|
|
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.
|
|
18
|
-
"@94ai/nf-button": "^5.0.
|
|
19
|
-
"@94ai/nf-drawer": "^5.0.
|
|
20
|
-
"@94ai/nf-message": "^5.0.
|
|
21
|
-
"@94ai/nf-search-form": "^5.0.
|
|
22
|
-
"@94ai/nf-theme-chalk": "^5.0.
|
|
17
|
+
"@94ai/common-utils": "^5.0.7",
|
|
18
|
+
"@94ai/nf-button": "^5.0.7",
|
|
19
|
+
"@94ai/nf-drawer": "^5.0.7",
|
|
20
|
+
"@94ai/nf-message": "^5.0.7",
|
|
21
|
+
"@94ai/nf-search-form": "^5.0.7",
|
|
22
|
+
"@94ai/nf-theme-chalk": "^5.0.7",
|
|
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": "
|
|
40
|
+
"gitHead": "a8d4d6635fcf4f2ab50620d5d80fcdb1a3ecafbd"
|
|
41
41
|
}
|