@airpower/web 0.2.58 → 0.2.61

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.
@@ -5,7 +5,7 @@ declare const _default: <E extends RootEntity>(__VLS_props: NonNullable<Awaited<
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly response: QueryResponsePage<E>;
7
7
  readonly onChanged?: ((page: QueryPage) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "response" | "onChanged"> & {} & Partial<{}>> & import('vue').PublicProps;
8
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChanged" | "response"> & {} & Partial<{}>> & import('vue').PublicProps;
9
9
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
10
10
  attrs: any;
11
11
  slots: {};
package/dist/main.js CHANGED
@@ -17958,12 +17958,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
17958
17958
  return scope.row;
17959
17959
  }
17960
17960
  function getValue(scope, key) {
17961
- console.warn(getRowEntity(scope)[key]);
17962
17961
  return getRowEntity(scope)[key];
17963
17962
  }
17964
17963
  function getPayloadArray(scope, key) {
17965
- const value = getValue(scope, key)[key];
17966
- console.warn("payloadArray", value);
17964
+ const value = getValue(scope, key);
17967
17965
  return value;
17968
17966
  }
17969
17967
  function tableRowClassName({ row }) {
@@ -18264,15 +18262,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
18264
18262
  key: 4,
18265
18263
  money: getValue(scope, item.key)
18266
18264
  }, null, 8, ["money"])) : item.payload ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
18267
- item.array ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
18268
- createTextVNode(toDisplayString(getPayloadArray(scope, item.key)) + " ", 1),
18269
- (openBlock(true), createElementBlock(Fragment, null, renderList(getPayloadArray(scope, item.key), (payload) => {
18270
- return openBlock(), createBlock(unref(APayload), {
18271
- key: payload.id,
18272
- payload
18273
- }, null, 8, ["payload"]);
18274
- }), 128))
18275
- ], 64)) : (openBlock(), createBlock(unref(APayload), {
18265
+ item.array ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(getPayloadArray(scope, item.key), (payload) => {
18266
+ return openBlock(), createBlock(unref(APayload), {
18267
+ key: payload.id,
18268
+ payload
18269
+ }, null, 8, ["payload"]);
18270
+ }), 128)) : (openBlock(), createBlock(unref(APayload), {
18276
18271
  key: 1,
18277
18272
  payload: getValue(scope, item.key)
18278
18273
  }, null, 8, ["payload"]))
@@ -19575,7 +19570,6 @@ class AbstractService extends Transformer {
19575
19570
  }
19576
19571
  },
19577
19572
  error: (response) => {
19578
- console.warn("response", response);
19579
19573
  if (response.code === WebConfig.unAuthorizeCode) {
19580
19574
  window.location.replace(WebConfig.loginUrl);
19581
19575
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "0.2.58",
4
+ "version": "0.2.61",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",