mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
优化 JWT 令牌的存储和使用逻辑;调整布局样式和组件属性
This commit is contained in:
@@ -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}`
|
||||
|
||||
Reference in New Issue
Block a user