@94ai/nf-virtual-select 3.3.18 → 3.3.20
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.
|
@@ -523,6 +523,7 @@ const _sfc_main = {
|
|
|
523
523
|
var _a;
|
|
524
524
|
if (this.isVirtualSelect) {
|
|
525
525
|
this.selectArr = ((_a = this.optionsList) == null ? void 0 : _a.map((it) => ({
|
|
526
|
+
...it,
|
|
526
527
|
[this.keyValue[0]]: it[this.keyValue[0]],
|
|
527
528
|
[this.keyValue[1]]: it[this.keyValue[1]],
|
|
528
529
|
[this.dataKey]: it[this.keyValue[1]],
|
|
@@ -542,6 +543,7 @@ const _sfc_main = {
|
|
|
542
543
|
}
|
|
543
544
|
} else {
|
|
544
545
|
this.selectArr = (this.optionsList || []).map((it) => ({
|
|
546
|
+
...it,
|
|
545
547
|
[this.keyValue[0]]: it[this.keyValue[0]],
|
|
546
548
|
[this.keyValue[1]]: it[this.keyValue[1]],
|
|
547
549
|
disabled: it["disabled"] ?? false
|
|
@@ -521,6 +521,7 @@ const _sfc_main = {
|
|
|
521
521
|
var _a;
|
|
522
522
|
if (this.isVirtualSelect) {
|
|
523
523
|
this.selectArr = ((_a = this.optionsList) == null ? void 0 : _a.map((it) => ({
|
|
524
|
+
...it,
|
|
524
525
|
[this.keyValue[0]]: it[this.keyValue[0]],
|
|
525
526
|
[this.keyValue[1]]: it[this.keyValue[1]],
|
|
526
527
|
[this.dataKey]: it[this.keyValue[1]],
|
|
@@ -540,6 +541,7 @@ const _sfc_main = {
|
|
|
540
541
|
}
|
|
541
542
|
} else {
|
|
542
543
|
this.selectArr = (this.optionsList || []).map((it) => ({
|
|
544
|
+
...it,
|
|
543
545
|
[this.keyValue[0]]: it[this.keyValue[0]],
|
|
544
546
|
[this.keyValue[1]]: it[this.keyValue[1]],
|
|
545
547
|
disabled: it["disabled"] ?? false
|
|
@@ -479,6 +479,7 @@ export default {
|
|
|
479
479
|
// 虚拟
|
|
480
480
|
// 无回显值
|
|
481
481
|
this.selectArr = this.optionsList?.map(it => ({
|
|
482
|
+
...it,
|
|
482
483
|
[this.keyValue[0]]: it[this.keyValue[0]],
|
|
483
484
|
[this.keyValue[1]]: it[this.keyValue[1]],
|
|
484
485
|
[this.dataKey]: it[this.keyValue[1]],
|
|
@@ -502,6 +503,7 @@ export default {
|
|
|
502
503
|
} else {
|
|
503
504
|
// 非虚拟选择器
|
|
504
505
|
this.selectArr = (this.optionsList || []).map(it => ({
|
|
506
|
+
...it,
|
|
505
507
|
[this.keyValue[0]]: it[this.keyValue[0]],
|
|
506
508
|
[this.keyValue[1]]: it[this.keyValue[1]],
|
|
507
509
|
disabled: it['disabled'] ?? false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-virtual-select",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.20",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "zoujiahe <zoujiahe@94ai.com>,DESKTOP-1EDDQ79\\dev026 <liuxiangxiang@94ai.com>",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@94ai/common-utils": "^3.3.
|
|
18
|
-
"@94ai/nf-theme-chalk": "^3.3.
|
|
17
|
+
"@94ai/common-utils": "^3.3.20",
|
|
18
|
+
"@94ai/nf-theme-chalk": "^3.3.20",
|
|
19
19
|
"lodash-es": "^4.17.21",
|
|
20
20
|
"vue-demi": "^0.14.5",
|
|
21
21
|
"vue-virtual-scroll-list": "^2.3.5"
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"types": "lib/index.d.ts",
|
|
34
34
|
"main": "lib/nf-virtual-select.cjs.js",
|
|
35
35
|
"module": "lib/nf-virtual-select.esm-bundler.js",
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "a1caee12745be49dfcfcdfc7bdcc26e4786be95f"
|
|
37
37
|
}
|