适配ios端

This commit is contained in:
qaq
2025-08-21 15:40:35 +08:00
parent 821ab5c76b
commit 6c4f9cd24c
15 changed files with 256 additions and 216 deletions
+5 -2
View File
@@ -4,14 +4,15 @@ export type SiteConfig = typeof siteConfig;
// 缓存相关常量
const CACHE_PREFIX = 'vite_config_';
const VERSION = "1.3.0";
const VERSION = "1.3.1";
const APP_VERSION = "1.0.1";
const getInitialConfig = () => {
if (typeof window === 'undefined') {
return {
name: "flux-panel",
version: VERSION,
app_version: APP_VERSION,
};
}
@@ -20,11 +21,13 @@ const getInitialConfig = () => {
return {
name: cachedAppName,
version: VERSION,
app_version: APP_VERSION,
};
}
return {
name: "flux-panel",
version: VERSION,
app_version: APP_VERSION,
};
};