We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
根据视频组件的文档,视频组件中我们写了如下两个监听事件 监听视频缓冲和进度变化 @waiting="onWaiting" @timeupdate="onTimeupdate"
在支付宝开发者工具中,使用真机预览,发现无法触发上述两个事件 去编译后的dist目录中的代码
在支付宝平台中,@waiting对应的是onLoading,我们发现@waiting编译后并没有转化为loading或者onLoading事件名
于是我在视频组件中加入了 @Loading="onWaiting"这一行,发现就可以了
现在的问题是,为什么框架没有把@waiting="onWaiting"事件编译成支付宝的loading/onLoading事件,waiting事件在支付宝中应该不回起效
The text was updated successfully, but these errors were encountered:
fix(mp-alipay): 修正内置组件部分事件 fxied #2185
0334594
所以,timeupdate还是没找到办法,我看编译后的axml文件里onTimeUpdate绑定的是“__e”,就是空的,可是文档没写支付宝不支持timeupdate。哎,啥玩意儿
Sorry, something went wrong.
HBuilderX 3.1.0 alpha 已修复
zhetengbiji
No branches or pull requests
根据视频组件的文档,视频组件中我们写了如下两个监听事件 监听视频缓冲和进度变化
@waiting="onWaiting"
@timeupdate="onTimeupdate"
在支付宝开发者工具中,使用真机预览,发现无法触发上述两个事件
去编译后的dist目录中的代码
在支付宝平台中,@waiting对应的是onLoading,我们发现@waiting编译后并没有转化为loading或者onLoading事件名
于是我在视频组件中加入了
@Loading="onWaiting"这一行,发现就可以了
现在的问题是,为什么框架没有把@waiting="onWaiting"事件编译成支付宝的loading/onLoading事件,waiting事件在支付宝中应该不回起效
The text was updated successfully, but these errors were encountered: