未验证 提交 b99ba2a0 编写于 作者: O openharmony_ci 提交者: Gitee

!8670 拖拽相关接口xts修改转测挑单

Merge pull request !8670 from 贺晨韬/cherry-pick-1684307988
......@@ -24,7 +24,7 @@ struct ImageExample2 {
@State interpolation:ImageInterpolation = ImageInterpolation.None
@State fillColor:Color = Color.Red
@State copyOption:CopyOptions = CopyOptions.None
@State draggable:boolean = false
@State is_draggable:boolean = false
messageManager:MessageManager = new MessageManager()
......@@ -51,7 +51,7 @@ struct ImageExample2 {
this.fillColor = message.value
}
if (message.name == 'draggable') {
this.draggable = message.value
this.is_draggable = message.value
}
if (message.name == 'copyOption') {
this.copyOption = message.value
......@@ -76,7 +76,7 @@ struct ImageExample2 {
.copyOption(CopyOptions.InApp)
.colorFilter([2,4,5])
.overlay('Original', { align: Alignment.Bottom, offset: { x: 0, y: 20 } })
.draggable(this.draggable)
.draggable(this.is_draggable)
.key("image1")
Image($rawfile('bm.jpg'))
.renderMode(ImageRenderMode.Template).width(100).height(100)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册