进度条加载完成后没有触发activeend方法:
<view>
<progress percent="100" show-info activeColor="red" active stroke-width="8" @activeend="activeend" />
</view>
,methods:{
activeend() {
console.log(2222)
// var server = this.apiServer + 'iiot/version.txt';
// uni.request({
// url: server,
// success: result => {
// var version = result.data;
// if(version==this.version){
// console.log(11111)
// this.title='当前版本为最新版本';
// this.bar =60;
// }else{
// console.log(222)
// this.title='检测到有版本更新'+version+',自动下载更新文件安装...';
// this.bar =60;
// }
// }
// });
}
}
m***@163.com
- 发布:2020-04-26 10:30
- 更新:2021-01-07 21:23
- 阅读:980
2 个回复
1***@qq.com
最后解决了么?
DCloud_UNI_Anne
动画完成事件,仅支持微信小程序
亲,您报bug/咨询问题的姿势好像不对哦,详情:https://ask.dcloud.net.cn/article/38139