Skip to content

Commit

Permalink
fix: #2 [api] SystemInfo 系统信息中缺失企业微信环境 environment: 'wxwork'
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaweiss committed Jun 18, 2023
1 parent 53bfa1f commit 31eaf80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions types/wx/lib.wx.api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8206,6 +8206,10 @@ wx.getSetting({
*
* 是否已打开调试。可通过右上角菜单或 [wx.setEnableDebug](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.setEnableDebug.html) 打开调试。 */
enableDebug: boolean
/**
* 运行环境(仅企业微信有值 wxwork)
*/
environment?: 'wxwork'
/** 需要基础库: `1.5.0`
*
* 用户字体大小(单位px)。以微信客户端「我-设置-通用-字体大小」中的设置为准 */
Expand Down

0 comments on commit 31eaf80

Please sign in to comment.