refactor: polish Trace Profiling widget (#436)

This commit is contained in:
Fine0830
2024-12-02 15:10:24 +08:00
committed by GitHub
parent 99a2461734
commit 8771ce4a19
6 changed files with 38 additions and 44 deletions

View File

@@ -77,7 +77,7 @@ limitations under the License. -->
ElMessage.error(res.errors);
return;
}
endpointName.value = profileStore.endpoints[0].value;
endpointName.value = profileStore.endpoints[0]?.value;
}
function changeEndpoint(opt: any[]) {