feat: check on startup, prompt before applying update

This commit is contained in:
Timi
2026-11-07 17:42:46 +08:00
parent b76b745e0d
commit 9d28a5c6cb
4 changed files with 277 additions and 205 deletions
+3
View File
@@ -7,6 +7,7 @@
title="客户"
>
<template #right>
<app-update-button />
<navbar-notify-button />
</template>
</t-navbar>
@@ -31,6 +32,7 @@
<store-overview ref="storeOverviewRef" compact />
</template>
<template #right-actions>
<app-update-button />
<navbar-notify-button />
</template>
<template #right>
@@ -53,6 +55,7 @@ import { useLayout } from "timi-tdesign-mobile";
import PendingNoticeBar from "./component/PendingNoticeBar.vue";
import CustomerEntryPanel from "./component/CustomerEntryPanel.vue";
import NavbarNotifyButton from "./component/NavbarNotifyButton.vue";
import AppUpdateButton from "./component/AppUpdateButton.vue";
import StoreOverview from "./component/StoreOverview.vue";
import TabSplitView from "./component/TabSplitView.vue";
import { permissionCodes } from "@/utils/permission";