初始化本地仓库

This commit is contained in:
2026-08-31 11:33:59 +08:00
commit 663f74b633
2390 changed files with 402918 additions and 0 deletions
@@ -0,0 +1,15 @@
/**
* 获取当前操作系统平台
* @returns 平台字符串,如 'ios'、'android'、'windows' 等
*/
export function os(): string {
return uni.getSystemInfoSync().platform;
}
/**
* 获取系统信息
* @returns uniapp 系统信息对象
*/
export function sys(): UniApp.GetSystemInfoResult {
return uni.getSystemInfoSync();
}