@wx-design/components 1.4.0 → 1.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wx-design/components",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -44,6 +44,8 @@ export type SabSelectProps = {
44
44
  modelValue?: any;
45
45
  // 值是否包含整个 option
46
46
  labelInValue?: boolean;
47
+ // 当 labelInValue 为 true 时,从 modelValue 读取值的 key
48
+ modelValueKey?: string;
47
49
  // 选项列表
48
50
  options?: any[];
49
51
  // 多选