Skip to content

Commit

Permalink
Merge branch 'feat-getSystemInfo-brand' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
zhetengbiji committed Sep 2, 2019
2 parents 66f1eb7 + 62cd363 commit 6f5af7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/api/system/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

|参数|说明|平台差异说明|
|:-|:-|:-|
|brand|手机品牌|微信小程序、百度小程序、头条小程序、QQ小程序|
|brand|手机品牌|5+App、微信小程序、百度小程序、头条小程序、QQ小程序|
|model|手机型号||
|pixelRatio|设备像素比||
|screenWidth|屏幕宽度||
Expand Down Expand Up @@ -91,7 +91,7 @@ uni.getSystemInfo({

|参数|说明|平台差异说明|
|:-|:-|:-|
|brand|手机品牌|微信小程序、百度小程序、头条小程序、QQ小程序|
|brand|手机品牌|5+App、微信小程序、百度小程序、头条小程序、QQ小程序|
|model|手机型号||
|pixelRatio|设备像素比||
|screenWidth|屏幕宽度||
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/app-plus/service/api/device/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function getSystemInfo () {

return {
errMsg: 'getSystemInfo:ok',
brand: '',
brand: plus.device.vendor,
model: plus.device.model,
pixelRatio: plus.screen.scale,
screenWidth,
Expand Down

0 comments on commit 6f5af7d

Please sign in to comment.