diff --git a/src/platforms/app-plus/service/api/device/system.js b/src/platforms/app-plus/service/api/device/system.js index f58567c71957916e8cfff17081ecc0f97cc47f03..517aea22b23aa71cad7c5208f5d21ba5295376b1 100644 --- a/src/platforms/app-plus/service/api/device/system.js +++ b/src/platforms/app-plus/service/api/device/system.js @@ -13,11 +13,11 @@ import { getStatusbarHeight } from 'uni-platform/helpers/status-bar' import deviceId from 'uni-platform/helpers/uuid' -export function getSystemInfoSync() { +export function getSystemInfoSync () { return callApiSync(getSystemInfo, Object.create(null), 'getSystemInfo', 'getSystemInfoSync') } -export function getSystemInfo() { +export function getSystemInfo () { const platform = plus.os.name.toLowerCase() const ios = platform === 'ios' const isAndroid = platform === 'android' @@ -103,4 +103,4 @@ export function getSystemInfo() { }, deviceId: deviceId() } -} \ No newline at end of file +}