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

nvue下 ios image load事件未触发 #690

Closed
hangaoke1 opened this issue Aug 18, 2019 · 2 comments
Closed

nvue下 ios image load事件未触发 #690

hangaoke1 opened this issue Aug 18, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@hangaoke1
Copy link

问题描述
ios下 uni-app编译模式 image组件的load事件未触发

复现步骤
[复现问题的步骤]

<template>
	<view class="page-user">
		用户中心
    <image style="width: 300rpx;height: 300rpx;" class="u-val" mode="scaleToFill" src="https://hgkcdn.oss-cn-shanghai.aliyuncs.com/Eboss/1.jpg" @load="handleLoad"></image>
	</view>
</template>

<script>
	export default {
	}
</script>

<style lang="less">
@prefix: page-user;

.@{prefix} {
	color: red;
}
.u-img {
  width: 700rpx;
  height: 1000rpx;
  background-color: #007AFF;
}
</style>

预期结果
图片加载后, 触发load事件

实际结果
图片加载后, 未触发load事件
注意: 安卓正常

系统信息:

  • 发行平台: 5+ App
  • 操作系统 iOS 12.1.2
  • HBuilderX版本 2.2.2
  • 设备信息 iphoneXR

补充信息

@Wangyaqi Wangyaqi added the bug Something isn't working label Aug 20, 2019
@Wangyaqi
Copy link
Contributor

确实有这个问题,谢谢反馈

@dcloudhdx
Copy link
Contributor

更新 HBuilderX,已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants