提交 0b3c3a3a 编写于 作者: Q qiang

fix(App): uuid

上级 7b2530de
let uuid
export default function () {
uuid = uuid || plus.runtime.getDCloudId()
return uuid
}
......@@ -11,6 +11,8 @@ import tabBar from '../../framework/tab-bar'
import { getStatusbarHeight } from 'uni-platform/helpers/status-bar'
import uuid from 'uni-platform/helpers/uuid'
export function getSystemInfoSync () {
return callApiSync(getSystemInfo, Object.create(null), 'getSystemInfo', 'getSystemInfoSync')
}
......@@ -98,6 +100,6 @@ export function getSystemInfo () {
bottom: safeAreaInsets.bottom,
left: safeAreaInsets.left
},
uuid: plus.runtime.getDCloudId()
uuid: uuid()
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册