Skip to content

Commit

Permalink
perf: fix CLS issue of actuator page (halo-dev/console#840)
Browse files Browse the repository at this point in the history
#### What type of PR is this?

/kind improvement

#### What this PR does / why we need it:

修复 Actuator 页面抖动的问题。

#### Which issue(s) this PR fixes:

Fixes halo-dev#3225

#### Special notes for your reviewer:

测试方式:

1. 测试进入系统概览页面是否会出现 halo-dev#3225 中提到的页面抖动问题。

#### Does this PR introduce a user-facing change?

```release-note
修复 Console 端进入系统概览页面会抖动的问题。
```
  • Loading branch information
ruibaby authored Feb 7, 2023
1 parent 8343677 commit 0260b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/system/actuator/Actuator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0260b02

Please sign in to comment.