@airpower/web 0.2.52 → 0.2.54

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/dist/main.js CHANGED
@@ -15527,24 +15527,30 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
15527
15527
  DialogUtil.show(props.view, props.payload.copy());
15528
15528
  }
15529
15529
  }
15530
+ const payloadLabel = computed(() => {
15531
+ var _a;
15532
+ try {
15533
+ return ((_a = props.payload) == null ? void 0 : _a.getPayloadLabel()) || "-";
15534
+ } catch (e) {
15535
+ console.error("[IPayload] 请实现 IPayload 接口", props.payload);
15536
+ }
15537
+ return "-";
15538
+ });
15530
15539
  return (_ctx, _cache) => {
15531
15540
  return openBlock(), createBlock(unref(ElLink), {
15532
15541
  underline: false,
15533
15542
  class: "a-payload",
15534
15543
  onClick: _cache[0] || (_cache[0] = ($event) => show())
15535
15544
  }, {
15536
- default: withCtx(() => {
15537
- var _a;
15538
- return [
15539
- createTextVNode(toDisplayString(((_a = __props.payload) == null ? void 0 : _a.getPayloadLabel()) || "-"), 1)
15540
- ];
15541
- }),
15545
+ default: withCtx(() => [
15546
+ createTextVNode(toDisplayString(payloadLabel.value), 1)
15547
+ ]),
15542
15548
  _: 1
15543
15549
  });
15544
15550
  };
15545
15551
  }
15546
15552
  });
15547
- const APayload = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-5bc31d32"]]);
15553
+ const APayload = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-666c0245"]]);
15548
15554
  const _hoisted_1$6 = { class: "a-phone-call__content" };
15549
15555
  const _sfc_main$c = /* @__PURE__ */ defineComponent({
15550
15556
  __name: "Call",
@@ -18258,6 +18264,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18258
18264
  key: 4,
18259
18265
  money: getValue(scope, item.key)
18260
18266
  }, null, 8, ["money"])) : item.payload ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
18267
+ createTextVNode(toDisplayString(item) + " " + toDisplayString(getValue(scope, item.key)) + " ", 1),
18261
18268
  item.array ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(getPayloadArray(scope, item.key), (payload) => {
18262
18269
  return openBlock(), createBlock(unref(APayload), {
18263
18270
  key: payload.id,
package/dist/web.css CHANGED
@@ -1172,7 +1172,7 @@ textarea {
1172
1172
  }
1173
1173
  ::v-deep(.a-dialog) .main {
1174
1174
  min-height: 200px !important;
1175
- }.a-payload[data-v-5bc31d32] {
1175
+ }.a-payload[data-v-666c0245] {
1176
1176
  overflow: hidden;
1177
1177
  text-overflow: ellipsis;
1178
1178
  white-space: normal;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "0.2.52",
4
+ "version": "0.2.54",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",