yuzhilin

频道拖拽

@@ -287,8 +287,7 @@ struct ChannelDialog { @@ -287,8 +287,7 @@ struct ChannelDialog {
287 .height('100%') 287 .height('100%')
288 .justifyContent(FlexAlign.Center) 288 .justifyContent(FlexAlign.Center)
289 .backgroundColor(item.homeChannel === '1' || item.movePermitted === 0 ? '#F5F5F5' : '#ffffff') 289 .backgroundColor(item.homeChannel === '1' || item.movePermitted === 0 ? '#F5F5F5' : '#ffffff')
290 - .onTouch((event?: TouchEvent) => {  
291 - if(event&&event.type === TouchType.Down){ 290 + .onClick(() => {
292 console.log('onTouch') 291 console.log('onTouch')
293 if (this.isEditIng) { 292 if (this.isEditIng) {
294 if (item.delPermitted === 1) { 293 if (item.delPermitted === 1) {
@@ -298,7 +297,6 @@ struct ChannelDialog { @@ -298,7 +297,6 @@ struct ChannelDialog {
298 this.confirm(index) 297 this.confirm(index)
299 this.controller?.close() 298 this.controller?.close()
300 } 299 }
301 - }  
302 }) 300 })
303 } 301 }
304 .width('23%') 302 .width('23%')