Skip to main content
由凹凸实验室倾力打造的「Deco 设计稿一键生成多端代码」预览版正式上线啦,欢迎
免费试用
!
Taro
3.x
3.x
3.x
2.x
1.x
全部版本
Document
Component
API
CanIUse
Learn
Blog
Report Problem
Design draft code generation
Ecosystem
Forum
Examples
Case
NutUI
Taro UI
JD Mini Program
English
中文
English
Search
This is unreleased documentation for Taro 文档
3.x
version.
For up-to-date documentation, see the
latest version
(3.x).
About API
Extend
getEnv
Version: 3.x
On this page
Taro.getEnv()
获取环境变量
支持情况:
类型
(
)
=>
TaroGeneral
.
ENV_TYPE
Previous
eventCenter
Next
pxTransform
类型