@airpower/web 0.2.47 → 0.2.48

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.
@@ -37,6 +37,10 @@ export interface ITableColumn extends IBaseField, IElementTableColumn {
37
37
  * 请确保该属性对应的类型已经实现了 `IPayload` 接口
38
38
  */
39
39
  payload?: boolean;
40
+ /**
41
+ * ### 是否是列表类数据
42
+ */
43
+ array?: boolean;
40
44
  /**
41
45
  * ### 删除列
42
46
  */
package/dist/main.js CHANGED
@@ -18251,10 +18251,17 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18251
18251
  }, null, 8, ["formatter", "milli-second"])) : item.money ? (openBlock(), createBlock(unref(AMoney), {
18252
18252
  key: 4,
18253
18253
  money: getValue(scope, item.key)
18254
- }, null, 8, ["money"])) : item.payload ? (openBlock(), createBlock(unref(APayload), {
18255
- key: 5,
18256
- payload: getValue(scope, item.key)
18257
- }, null, 8, ["payload"])) : item.desensitize ? (openBlock(), createBlock(unref(ADesensitize), {
18254
+ }, null, 8, ["money"])) : item.payload ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
18255
+ item.array ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(getValue(scope, item.key), (payload, i) => {
18256
+ return openBlock(), createBlock(unref(APayload), {
18257
+ key: i,
18258
+ payload
18259
+ }, null, 8, ["payload"]);
18260
+ }), 128)) : (openBlock(), createBlock(unref(APayload), {
18261
+ key: 1,
18262
+ payload: getValue(scope, item.key)
18263
+ }, null, 8, ["payload"]))
18264
+ ], 64)) : item.desensitize ? (openBlock(), createBlock(unref(ADesensitize), {
18258
18265
  key: 6,
18259
18266
  content: getValue(scope, item.key),
18260
18267
  type: item.desensitize
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "0.2.47",
4
+ "version": "0.2.48",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",