mirror of
https://github.com/LifeArchiveProject/WeChatDataAnalysis.git
synced 2026-02-19 22:30:49 +08:00
fix(desktop-update): 修复更新弹窗关闭无效
This commit is contained in:
@@ -11,12 +11,12 @@
|
||||
|
||||
<ClientOnly v-if="isDesktopUpdater">
|
||||
<DesktopUpdateDialog
|
||||
:open="desktopUpdate.open"
|
||||
:info="desktopUpdate.info"
|
||||
:is-downloading="desktopUpdate.isDownloading"
|
||||
:ready-to-install="desktopUpdate.readyToInstall"
|
||||
:progress="desktopUpdate.progress"
|
||||
:error="desktopUpdate.error"
|
||||
:open="desktopUpdate.open.value"
|
||||
:info="desktopUpdate.info.value"
|
||||
:is-downloading="desktopUpdate.isDownloading.value"
|
||||
:ready-to-install="desktopUpdate.readyToInstall.value"
|
||||
:progress="desktopUpdate.progress.value"
|
||||
:error="desktopUpdate.error.value"
|
||||
:has-ignore="true"
|
||||
@close="desktopUpdate.dismiss"
|
||||
@update="desktopUpdate.startUpdate"
|
||||
|
||||
@@ -105,14 +105,14 @@
|
||||
<button
|
||||
type="button"
|
||||
class="text-sm px-3 py-1.5 rounded-md border border-gray-200 bg-white hover:bg-gray-50 disabled:opacity-50"
|
||||
:disabled="!isDesktopEnv || desktopUpdate.manualCheckLoading"
|
||||
:disabled="!isDesktopEnv || desktopUpdate.manualCheckLoading.value"
|
||||
@click="onDesktopCheckUpdates"
|
||||
>
|
||||
{{ desktopUpdate.manualCheckLoading ? '检查中...' : '检查更新' }}
|
||||
{{ desktopUpdate.manualCheckLoading.value ? '检查中...' : '检查更新' }}
|
||||
</button>
|
||||
</div>
|
||||
<div v-if="desktopUpdate.lastCheckMessage" class="text-xs text-gray-600 whitespace-pre-wrap break-words">
|
||||
{{ desktopUpdate.lastCheckMessage }}
|
||||
<div v-if="desktopUpdate.lastCheckMessage.value" class="text-xs text-gray-600 whitespace-pre-wrap break-words">
|
||||
{{ desktopUpdate.lastCheckMessage.value }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user