reactor:getSystemInfoSync =》 getWindowInfo,解决 device

This commit is contained in:
YunaiV
2025-04-29 20:38:50 +08:00
parent 9582d5944e
commit c95f621144
7 changed files with 16 additions and 22 deletions
-8
View File
@@ -47,13 +47,6 @@ export function sleep(value = 30) {
export function os() {
return uni.getDeviceInfo().platform.toLowerCase();
}
/**
* @description 获取系统信息同步接口
* @link 获取系统信息同步接口 https://uniapp.dcloud.io/api/system/info?id=getsysteminfosync
*/
export function sys() {
return uni.getSystemInfoSync();
}
/**
* @description 取一个区间数
@@ -679,7 +672,6 @@ export default {
getPx,
sleep,
os,
sys,
random,
guid,
$parent,