提交 e2782e3b 编写于 作者: Q qiang

chore: build

上级 5ac42fbb
......@@ -6493,12 +6493,17 @@ var serviceContext = (function () {
if (!_initSystemInfo) return
const { getSystemInfoSync } = weex.requireModule('plus');
systemInfo = getSystemInfoSync();
if (typeof systemInfo === 'string') {
try {
systemInfo = JSON.parse(systemInfo);
} catch (error) {}
}
}
function getDeviceInfo () {
weexGetSystemInfoSync();
const {
deviceBrand, deviceModel, osName,
deviceBrand = '', deviceModel, osName,
osVersion, deviceOrientation, deviceType
} = systemInfo;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册