zzz-pc-view 0.0.54 → 0.0.56

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": "zzz-pc-view",
3
- "version": "0.0.54",
3
+ "version": "0.0.56",
4
4
  "main": "src/index.umd.js",
5
5
  "module": "src/index.es.js",
6
6
  "types": "src/index.d.ts",
package/src/index.es.js CHANGED
@@ -11116,6 +11116,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
11116
11116
  const _sfc_main$e = /* @__PURE__ */ defineComponent({
11117
11117
  __name: "SelectView",
11118
11118
  props: {
11119
+ descKey: {},
11119
11120
  options: {},
11120
11121
  primaryKey: {},
11121
11122
  nameKey: {},
@@ -11137,9 +11138,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
11137
11138
  (openBlock(true), createElementBlock(Fragment, null, renderList(props.options, (item) => {
11138
11139
  return openBlock(), createBlock(_component_el_option, {
11139
11140
  key: item[_ctx.primaryKey],
11141
+ title: _ctx.descKey ? item[_ctx.descKey] ?? "" : "",
11140
11142
  label: item[_ctx.nameKey],
11141
11143
  value: item[_ctx.primaryKey]
11142
- }, null, 8, ["label", "value"]);
11144
+ }, null, 8, ["title", "label", "value"]);
11143
11145
  }), 128))
11144
11146
  ]),
11145
11147
  _: 1