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
问题描述 movable-area 的@scale 回调有误,event.detail中只有:{"scale":scale},而不是文档中提到的{x: x, y: y, scale: scale},
<movable-area class="picture-area" :scale-area="true"> <movable-view class="picture-view" :style="{ width: cropperW + 'px', height: cropperH + 'px' }" direction="all" :x="old.x" :y="old.y" :scale="true" :scale-min="1" :scale-max="2" @change="movableChange" @scale="movableScale"> <image :src="localImg" :style="'width:' + cropperW + 'px;height:' + cropperH + 'px'"></image> </movable-view> </movable-area>
movableScale(e) { console.log(JSON.stringify(e)); },
预期结果
"detail":{x: x, y: y,"scale":1.4},
实际结果
系统信息:
The text was updated successfully, but these errors were encountered:
已修复,更新 HBuilderX 到 2.0.2 alpha
Sorry, something went wrong.
No branches or pull requests
问题描述
movable-area 的@scale 回调有误,event.detail中只有:{"scale":scale},而不是文档中提到的{x: x, y: y, scale: scale},
预期结果
实际结果

系统信息:
The text was updated successfully, but these errors were encountered: