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

Function-name属性在构建后无法获得正确值 #4358

Closed
fkworld opened this issue Apr 30, 2019 · 1 comment
Closed

Function-name属性在构建后无法获得正确值 #4358

fkworld opened this issue Apr 30, 2019 · 1 comment

Comments

@fkworld
Copy link

fkworld commented Apr 30, 2019

Creator version?(版本号)

2.0.9

Affected platform?(受影响的平台)

目前包括Web和Wechat,猜测会出现在所有打包后平台

How to reproduce?(如何重现)

export class A { }
console.log("test", A.name)

在编辑器预览时打印test A
构建为web-mobile后打印test
此外,测试Helloworld项目中的Helloworld类时,打印结果为r

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

2 participants