fix: extension check abnormal (#512)
All checks were successful
Build and Deploy / build-and-deploy (push) Has been skipped
Build and Push Docker Images / build (push) Has been skipped

This commit is contained in:
dribble-njr 2025-01-10 22:43:14 +08:00 committed by GitHub
parent 1dc3693826
commit 5094d90b43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ function onUpdate(val: boolean) {
}
onMounted(() => {
extensionInstalled.value = window.$syncer !== `undefined`
extensionInstalled.value = window.$syncer !== undefined
})
</script>
@ -125,7 +125,7 @@ onMounted(() => {
<Button variant="outline" @click="dialogVisible = false">
</Button>
<Button @click="post">
<Button :disabled="!extensionInstalled" @click="post">
</Button>
</DialogFooter>