@94ai/nf-virtual-select 3.2.24 → 3.2.26

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.
@@ -414,7 +414,7 @@ const _sfc_main = {
414
414
  this.selectArr = ((_a = this.optionsList) == null ? void 0 : _a.map((it) => ({
415
415
  label: it[this.keyValue[0]],
416
416
  value: it[this.keyValue[1]],
417
- templateId: it[this.keyValue[1]],
417
+ [this.dataKey]: it[this.keyValue[1]],
418
418
  disabled: it["disabled"] ?? false
419
419
  }))) ?? [];
420
420
  } else {
@@ -453,7 +453,7 @@ const _sfc_main = {
453
453
  return {
454
454
  label: it[this.keyValue[0]],
455
455
  value: it[this.keyValue[1]],
456
- templateId: it[this.keyValue[1]],
456
+ [this.dataKey]: it[this.keyValue[1]],
457
457
  disabled: it["disabled"] ? it["disabled"] : false,
458
458
  slotContent: (it == null ? void 0 : it.slotContent) || {}
459
459
  };
@@ -412,7 +412,7 @@ const _sfc_main = {
412
412
  this.selectArr = ((_a = this.optionsList) == null ? void 0 : _a.map((it) => ({
413
413
  label: it[this.keyValue[0]],
414
414
  value: it[this.keyValue[1]],
415
- templateId: it[this.keyValue[1]],
415
+ [this.dataKey]: it[this.keyValue[1]],
416
416
  disabled: it["disabled"] ?? false
417
417
  }))) ?? [];
418
418
  } else {
@@ -451,7 +451,7 @@ const _sfc_main = {
451
451
  return {
452
452
  label: it[this.keyValue[0]],
453
453
  value: it[this.keyValue[1]],
454
- templateId: it[this.keyValue[1]],
454
+ [this.dataKey]: it[this.keyValue[1]],
455
455
  disabled: it["disabled"] ? it["disabled"] : false,
456
456
  slotContent: (it == null ? void 0 : it.slotContent) || {}
457
457
  };
@@ -418,7 +418,7 @@ export default {
418
418
  this.selectArr = this.optionsList?.map(it => ({
419
419
  label: it[this.keyValue[0]],
420
420
  value: it[this.keyValue[1]],
421
- templateId: it[this.keyValue[1]],
421
+ [this.dataKey]: it[this.keyValue[1]],
422
422
  disabled: it['disabled'] ?? false
423
423
  })) ?? [];
424
424
  } else {
@@ -461,7 +461,7 @@ export default {
461
461
  return {
462
462
  label: it[this.keyValue[0]],
463
463
  value: it[this.keyValue[1]],
464
- templateId: it[this.keyValue[1]],
464
+ [this.dataKey]: it[this.keyValue[1]],
465
465
  disabled: it['disabled'] ? it['disabled'] : false,
466
466
  slotContent: it?.slotContent || {}
467
467
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-virtual-select",
3
- "version": "3.2.24",
3
+ "version": "3.2.26",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "DESKTOP-1EDDQ79\\dev026 <liuxiangxiang@94ai.com>",
@@ -14,7 +14,7 @@
14
14
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/nf-theme-chalk": "^3.2.24",
17
+ "@94ai/nf-theme-chalk": "^3.2.26",
18
18
  "lodash-es": "^4.17.21",
19
19
  "vue-demi": "^0.14.5",
20
20
  "vue-virtual-scroll-list": "^2.3.5"
@@ -32,5 +32,5 @@
32
32
  "types": "lib/index.d.ts",
33
33
  "main": "lib/nf-virtual-select.cjs.js",
34
34
  "module": "lib/nf-virtual-select.esm-bundler.js",
35
- "gitHead": "6f56dd9554a2ac9db9a7107ef8b8698dfa5f51b7"
35
+ "gitHead": "3fc82ba76ea5963f800c942e7dddf4ec58d851c4"
36
36
  }