zxj5470 / wxapp-intellij

WeChat App plugin is Compatible with IntelliJ IDEA Ultimate, PhpStorm, PyCharm Professional, Rider, RubyMine, WebStorm, AppCode, CLion, GoLand
GNU General Public License v3.0
89 stars 10 forks source link

代码提示 translate() 参数顺序错误 #30

Closed KyleBing closed 1 year ago

KyleBing commented 4 years ago

Describe the bug or Suggestion 描述一下 bug 或者有什么建议 animation.translate(tx, ty) 这个方法的参数名顺序应该是 tx ty 而不是 ty tx,目前是 animation.translate(ty, tx)。 还有animation.translate3d(tx, ty, tz) 这个方法的参数名顺序也有误,也应该是 xyz 这样的顺序,详见页面截图

To Reproduce 如何复现bug null

Screenshots 截图

编辑器中:

Screen Shot 2020-01-18 at 15 24 58

官方文档:

Screen Shot 2020-01-18 at 15 24 22

插件源文件

Screen Shot 2020-01-18 at 15 24 38

translate3d() 也一样

Screen Shot 2020-01-18 at 15 26 23 Screen Shot 2020-01-18 at 15 26 35

Desktop (please complete the following information):

Additional context 其他相关信息 null

zxj5470 commented 4 years ago

这个问题建议到wepy项目看看那个d.ts文件有没有问题