aq-fe-framework 0.1.124 → 0.1.126

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.
@@ -64,9 +64,12 @@ function MyButtonViewPDF({
64
64
  const query = useQuery({
65
65
  queryKey: ["MyButtonViewPDF", id, filePath],
66
66
  queryFn: async () => {
67
- console.log("huhu");
68
- if (filePath) (await baseAxios_default.get("/AQ/GetFile?filePath=" + filePath)).data.data;
69
- return (await baseAxios_default.get("/Document/Get?id=" + id)).data.data;
67
+ if (filePath) {
68
+ const res2 = await baseAxios_default.get("/AQ/GetFile?filePath=" + filePath);
69
+ return res2.data.data;
70
+ }
71
+ const res = await baseAxios_default.get("/Document/Get?id=" + id);
72
+ return res.data.data;
70
73
  },
71
74
  enabled: id != void 0 && disc[0] == true
72
75
  });
@@ -87,7 +90,7 @@ function MyButtonViewPDF({
87
90
  disc[1].open();
88
91
  },
89
92
  leftSection: /* @__PURE__ */ jsx2(IconLivePhoto, {}),
90
- children: label
93
+ children: label + "huhu"
91
94
  }
92
95
  ) }),
93
96
  /* @__PURE__ */ jsx2(
@@ -65,7 +65,7 @@ import {
65
65
  useS_BasicAppShell,
66
66
  useS_ButtonImport,
67
67
  utils_layout_getItemsWithoutLinks
68
- } from "../chunk-KDZX5D3Y.mjs";
68
+ } from "../chunk-JBF7MGQG.mjs";
69
69
  import "../chunk-7EHNYA4A.mjs";
70
70
  import "../chunk-Y3YGC5IH.mjs";
71
71
  import "../chunk-CJDXLINF.mjs";
@@ -65,7 +65,7 @@ import {
65
65
  useS_core60524,
66
66
  useS_core83092,
67
67
  utils_core83092_mergePage
68
- } from "../chunk-KDZX5D3Y.mjs";
68
+ } from "../chunk-JBF7MGQG.mjs";
69
69
  import "../chunk-7EHNYA4A.mjs";
70
70
  import "../chunk-Y3YGC5IH.mjs";
71
71
  import "../chunk-CJDXLINF.mjs";
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "types": "./dist/hooks/index.d.mts"
23
23
  }
24
24
  },
25
- "version": "0.1.124",
25
+ "version": "0.1.126",
26
26
  "private": false,
27
27
  "files": [
28
28
  "dist"