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">
|
<ClientOnly v-if="isDesktopUpdater">
|
||||||
<DesktopUpdateDialog
|
<DesktopUpdateDialog
|
||||||
:open="desktopUpdate.open"
|
:open="desktopUpdate.open.value"
|
||||||
:info="desktopUpdate.info"
|
:info="desktopUpdate.info.value"
|
||||||
:is-downloading="desktopUpdate.isDownloading"
|
:is-downloading="desktopUpdate.isDownloading.value"
|
||||||
:ready-to-install="desktopUpdate.readyToInstall"
|
:ready-to-install="desktopUpdate.readyToInstall.value"
|
||||||
:progress="desktopUpdate.progress"
|
:progress="desktopUpdate.progress.value"
|
||||||
:error="desktopUpdate.error"
|
:error="desktopUpdate.error.value"
|
||||||
:has-ignore="true"
|
:has-ignore="true"
|
||||||
@close="desktopUpdate.dismiss"
|
@close="desktopUpdate.dismiss"
|
||||||
@update="desktopUpdate.startUpdate"
|
@update="desktopUpdate.startUpdate"
|
||||||
|
|||||||
@@ -105,14 +105,14 @@
|
|||||||
<button
|
<button
|
||||||
type="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"
|
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"
|
@click="onDesktopCheckUpdates"
|
||||||
>
|
>
|
||||||
{{ desktopUpdate.manualCheckLoading ? '检查中...' : '检查更新' }}
|
{{ desktopUpdate.manualCheckLoading.value ? '检查中...' : '检查更新' }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="desktopUpdate.lastCheckMessage" class="text-xs text-gray-600 whitespace-pre-wrap break-words">
|
<div v-if="desktopUpdate.lastCheckMessage.value" class="text-xs text-gray-600 whitespace-pre-wrap break-words">
|
||||||
{{ desktopUpdate.lastCheckMessage }}
|
{{ desktopUpdate.lastCheckMessage.value }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user