mirror of https://github.com/halo-dev/halo-admin
[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
parent
d8ff085c35
commit
3fc46081e2
|
@ -50,7 +50,7 @@ const handleFetchActuatorStartup = async () => {
|
|||
|
||||
const isExternalUrlValid = computed(() => {
|
||||
if (!globalInfo.value?.externalUrl) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
const url = new URL(globalInfo.value.externalUrl);
|
||||
const { host: currentHost, protocol: currentProtocol } = window.location;
|
||||
|
|
Loading…
Reference in New Issue