Merge branch 'main' of github.com:apache/skywalking-booster-ui into feat/events

This commit is contained in:
Fine 2023-02-14 17:43:49 +08:00
commit 4998194ca5
2 changed files with 3 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -423,13 +423,15 @@ export const dashboardStore = defineStore({
res = await graphql.query("addNewTemplate").params({ setting: { configuration: JSON.stringify(c) } });
json = res.data.data.addTemplate;
if (!json.status) {
ElMessage.error(json.message);
}
}
if (res.data.errors || res.errors) {
ElMessage.error(res.data.errors);
return res.data;
}
if (!json.status) {
ElMessage.error(json.message);
return json;
}
if (!this.currentDashboard.id) {