mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-01 19:13:58 +00:00
fix: remove duplicate query message (#231)
This commit is contained in:
parent
1877776720
commit
4613149759
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user