mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 00:37:33 +00:00
Update src/views/dashboard/New.vue
Co-authored-by: Fine0830 <fanxue0830@gmail.com>
This commit is contained in:
parent
1d8b796294
commit
a762c4b7dc
@ -81,7 +81,7 @@ const onCreate = () => {
|
|||||||
states.entity === d.entity &&
|
states.entity === d.entity &&
|
||||||
states.selectedLayer === d.layer
|
states.selectedLayer === d.layer
|
||||||
);
|
);
|
||||||
if (states.name.trim() === "") {
|
if (!states.name) {
|
||||||
ElMessage.error(t("nameEmptyError"));
|
ElMessage.error(t("nameEmptyError"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user