Skip to content

Commit 40579cb

Browse files
committed
fix: #2 [api] SystemInfo 系统信息中缺失企业微信环境 environment?: 'wxwork'
1 parent 53bfa1f commit 40579cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

types/wx/lib.wx.api.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -8206,6 +8206,10 @@ wx.getSetting({
82068206
*
82078207
* 是否已打开调试。可通过右上角菜单或 [wx.setEnableDebug](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.setEnableDebug.html) 打开调试。 */
82088208
enableDebug: boolean
8209+
/**
8210+
* 运行环境(仅企业微信有值 wxwork)
8211+
*/
8212+
environment?: 'wxwork'
82098213
/** 需要基础库: `1.5.0`
82108214
*
82118215
* 用户字体大小(单位px)。以微信客户端「我-设置-通用-字体大小」中的设置为准 */

0 commit comments

Comments
 (0)