From 5094d90b43ca4fb0bb0e152c54173751cd501df8 Mon Sep 17 00:00:00 2001
From: dribble-njr <72367140+dribble-njr@users.noreply.github.com>
Date: Fri, 10 Jan 2025 22:43:14 +0800
Subject: [PATCH] fix: extension check abnormal (#512)
---
src/components/CodemirrorEditor/EditorHeader/PostInfo.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/CodemirrorEditor/EditorHeader/PostInfo.vue b/src/components/CodemirrorEditor/EditorHeader/PostInfo.vue
index 860a24b..f136722 100644
--- a/src/components/CodemirrorEditor/EditorHeader/PostInfo.vue
+++ b/src/components/CodemirrorEditor/EditorHeader/PostInfo.vue
@@ -62,7 +62,7 @@ function onUpdate(val: boolean) {
}
onMounted(() => {
- extensionInstalled.value = window.$syncer !== `undefined`
+ extensionInstalled.value = window.$syncer !== undefined
})
@@ -125,7 +125,7 @@ onMounted(() => {
-