mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-06-29 20:07:36 +00:00
Merge branch 'main' of github.com:apache/skywalking-booster-ui into feat/async-profile
This commit is contained in:
commit
f9b84ada01
@ -37,8 +37,10 @@ export const saveFile = (data: any, name: string) => {
|
|||||||
tagA.download = name;
|
tagA.download = name;
|
||||||
tagA.style.display = "none";
|
tagA.style.display = "none";
|
||||||
const blob = new Blob([newData]);
|
const blob = new Blob([newData]);
|
||||||
tagA.href = URL.createObjectURL(blob);
|
const url = URL.createObjectURL(blob);
|
||||||
|
tagA.href = url;
|
||||||
document.body.appendChild(tagA);
|
document.body.appendChild(tagA);
|
||||||
tagA.click();
|
tagA.click();
|
||||||
document.body.removeChild(tagA);
|
document.body.removeChild(tagA);
|
||||||
|
URL.revokeObjectURL(url);
|
||||||
};
|
};
|
||||||
|
@ -77,7 +77,7 @@ limitations under the License. -->
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
async function queryMetrics() {
|
async function queryMetrics() {
|
||||||
const widgets = [];
|
const widgets: LayoutConfig[] = [];
|
||||||
for (const item of dashboardStore.layout) {
|
for (const item of dashboardStore.layout) {
|
||||||
if (item.type === WidgetType.Widget) {
|
if (item.type === WidgetType.Widget) {
|
||||||
if (!ListChartTypes.includes(item.graph?.type || "")) {
|
if (!ListChartTypes.includes(item.graph?.type || "")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user