提交 82aa714a 编写于 作者: D DCloud_LXH

fix(app): deviceBrand maybe undefined

上级 519e1223
...@@ -15,7 +15,7 @@ function weexGetSystemInfoSync () { ...@@ -15,7 +15,7 @@ function weexGetSystemInfoSync () {
export function getDeviceInfo () { export function getDeviceInfo () {
weexGetSystemInfoSync() weexGetSystemInfoSync()
const { const {
deviceBrand, deviceModel, osName, deviceBrand = '', deviceModel, osName,
osVersion, deviceOrientation, deviceType osVersion, deviceOrientation, deviceType
} = systemInfo } = systemInfo
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册