Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app.js中config配置不支持变量引入 #2632

Closed
yuuk opened this issue Mar 29, 2019 · 10 comments
Closed

app.js中config配置不支持变量引入 #2632

yuuk opened this issue Mar 29, 2019 · 10 comments
Assignees

Comments

@yuuk
Copy link
Contributor

yuuk commented Mar 29, 2019

QQ20190329-180914
如图,编译后这个字段直接就没了

@taro-bot
Copy link

taro-bot bot commented Mar 29, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@tourze
Copy link
Contributor

tourze commented Mar 29, 2019

有一个办法就是用常量引入。。

@nyrf
Copy link

nyrf commented Mar 30, 2019

现在好像只能用常量,参考 #2305 (comment)

@tourze
Copy link
Contributor

tourze commented Mar 31, 2019

@luckyadam 在H5中使用常量来配置page失败。
image
image
image

@luckyadam luckyadam added the CLI label Apr 8, 2019
@taro-bot
Copy link

taro-bot bot commented Apr 8, 2019

CC @luckyadam

@Sdoy
Copy link

Sdoy commented May 14, 2019

这个有排期吗 @luckyadam

@shenghanqin
Copy link
Collaborator

@luckyadam 我在changelog里面没有找到

@tourze
Copy link
Contributor

tourze commented Nov 13, 2019

可以使用preval来实现了

@Chen-jj
Copy link
Contributor

Chen-jj commented Jul 6, 2020

Taro2、3 都已支持

@Chen-jj Chen-jj closed this as completed Jul 6, 2020
@wanghaomayu
Copy link

可以使用preval来实现了

怎么实现的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants