mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-19 04:37:36 +00:00
fix: duplicate error message
This commit is contained in:
parent
1877776720
commit
9c1333c69e
@ -423,6 +423,9 @@ export const dashboardStore = defineStore({
|
|||||||
res = await graphql.query("addNewTemplate").params({ setting: { configuration: JSON.stringify(c) } });
|
res = await graphql.query("addNewTemplate").params({ setting: { configuration: JSON.stringify(c) } });
|
||||||
|
|
||||||
json = res.data.data.addTemplate;
|
json = res.data.data.addTemplate;
|
||||||
|
if (!json.status) {
|
||||||
|
ElMessage.error(json.message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (res.data.errors || res.errors) {
|
if (res.data.errors || res.errors) {
|
||||||
ElMessage.error(res.data.errors);
|
ElMessage.error(res.data.errors);
|
||||||
|
Loading…
Reference in New Issue
Block a user