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
|
-
|
68
|
-
|
69
|
-
|
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-
|
68
|
+
} from "../chunk-JBF7MGQG.mjs";
|
69
69
|
import "../chunk-7EHNYA4A.mjs";
|
70
70
|
import "../chunk-Y3YGC5IH.mjs";
|
71
71
|
import "../chunk-CJDXLINF.mjs";
|