提交 236ad155 编写于 作者: D DCloud_LXH

chore(app): plus.runtime.getDCloudId() -> plus.device.uuid

上级 758c0f91
let deviceId: string
interface _PlusRuntime extends PlusRuntime {
getDCloudId: (...args: any[]) => string
}
export default function () {
deviceId = deviceId || (plus.runtime as _PlusRuntime).getDCloudId()
deviceId = deviceId || plus.device.uuid!
return deviceId
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册