m***@163.com
m***@163.com
  • 发布:2020-04-26 10:30
  • 更新:2021-01-07 21:23
  • 阅读:980

progress完成事件触发

分类:HBuilderX

进度条加载完成后没有触发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;
// }
// }
// });
}
}

2020-04-26 10:30 负责人:无 分享
已邀请:
1***@qq.com

1***@qq.com

最后解决了么?

DCloud_UNI_Anne

DCloud_UNI_Anne

该问题目前已经被锁定, 无法添加新回复