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

包装的方法名是不是和原来的一样 #788

Closed
wants to merge 1 commit into from

Conversation

CoderTonyChan
Copy link

@CoderTonyChan CoderTonyChan commented Jan 18, 2018

这边报方法找不到 用了和wx一样的方法名就可以找到了

Checklist
  • npm run test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • cases or donate is changed or added
  • documentation is changed or added

这边报方法找不到 用了和wx一样的方法名就可以找到了
@coveralls
Copy link

Coverage Status

Coverage remained the same at 85.809% when pulling 619dd9a on CTLifeHand:patch-1 into 16f706d on Tencent:master.

@Gcaufy
Copy link
Collaborator

Gcaufy commented Jan 18, 2018

看一下代码是不是不对。。
估计设计得与原生不一样的。

this.$navigate
this.$redirect
this.$root.$navigate
this.$root.$redirect

@CoderTonyChan
Copy link
Author

CoderTonyChan commented Jan 18, 2018

我知道问题了 使用wepy.xxx的方式请求小程序原生API都将Promise化。
我使用的是app实例

@CoderTonyChan CoderTonyChan deleted the patch-1 branch January 18, 2018 04:26
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

Successfully merging this pull request may close these issues.

None yet

3 participants