@airpower/web 0.2.10 → 0.2.11

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.
@@ -7,5 +7,5 @@ export interface IPayload {
7
7
  /**
8
8
  * ### 获取负载标签
9
9
  */
10
- getLabel: () => string;
10
+ getPayloadLabel: () => string;
11
11
  }
package/dist/main.js CHANGED
@@ -7893,7 +7893,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
7893
7893
  onClick: _cache[0] || (_cache[0] = ($event) => show())
7894
7894
  }, {
7895
7895
  default: withCtx(() => [
7896
- createTextVNode(toDisplayString(__props.payload.getLabel()), 1)
7896
+ createTextVNode(toDisplayString(__props.payload.getPayloadLabel()), 1)
7897
7897
  ]),
7898
7898
  _: 1
7899
7899
  });
@@ -9132,7 +9132,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
9132
9132
  const result = useModel(__props, "modelValue");
9133
9133
  const label = computed(() => {
9134
9134
  var _a;
9135
- return ((_a = result.value) == null ? void 0 : _a.getLabel()) || props.default;
9135
+ return ((_a = result.value) == null ? void 0 : _a.getPayloadLabel()) || props.default;
9136
9136
  });
9137
9137
  async function onSelect() {
9138
9138
  result.value = await DialogUtil.show(props.selector, props.param);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "0.2.10",
4
+ "version": "0.2.11",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",