diff --git a/src/layout/components/NavBar.vue b/src/layout/components/NavBar.vue index c8a79fba..292d4c5c 100644 --- a/src/layout/components/NavBar.vue +++ b/src/layout/components/NavBar.vue @@ -130,7 +130,7 @@ limitations under the License. --> const x = themeSwitchRef.value?.offsetLeft ?? 0; const y = themeSwitchRef.value?.offsetTop ?? 0; const endRadius = Math.hypot(Math.max(x, innerWidth - x), Math.max(y, innerHeight - y)); - // 兼容性处理 + // compatibility handling if (!document.startViewTransition) { changeTheme(); return;