[release-2.2] perf: fix CLS issue of actuator page (#842)

This is an automated cherry-pick of #840

/assign ruibaby

```release-note
修复 Console 端进入系统概览页面会抖动的问题。
```
pull/855/head
Halo Dev Bot 2 years ago committed by GitHub
parent d8ff085c35
commit 3fc46081e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,7 +50,7 @@ const handleFetchActuatorStartup = async () => {
const isExternalUrlValid = computed(() => { const isExternalUrlValid = computed(() => {
if (!globalInfo.value?.externalUrl) { if (!globalInfo.value?.externalUrl) {
return false; return true;
} }
const url = new URL(globalInfo.value.externalUrl); const url = new URL(globalInfo.value.externalUrl);
const { host: currentHost, protocol: currentProtocol } = window.location; const { host: currentHost, protocol: currentProtocol } = window.location;

Loading…
Cancel
Save