优化 JWT 令牌的存储和使用逻辑;调整布局样式和组件属性

This commit is contained in:
2025-04-06 23:09:48 +08:00
parent d5c9e663da
commit eb306b66b0
14 changed files with 144 additions and 140 deletions

View File

@@ -29,6 +29,7 @@ export async function initAll() {
return;
}
let permissionGranted = await isPermissionGranted();
checkUpdate();
// If not we need to request it
if (!permissionGranted) {
@@ -117,6 +118,7 @@ export function OnClientUnmounted() {
async function checkUpdate() {
const update = await check();
console.log(update);
if (update) {
console.log(
`found update ${update.version} from ${update.date} with notes ${update.body}`