mirror of
https://github.com/doocs/md.git
synced 2025-01-22 20:04:39 +08:00
fix: extension check abnormal (#512)
This commit is contained in:
parent
1dc3693826
commit
5094d90b43
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user