Showing
2 changed files
with
2 additions
and
2 deletions
| @@ -46,7 +46,7 @@ struct MyCollectionListPage { | @@ -46,7 +46,7 @@ struct MyCollectionListPage { | ||
| 46 | 46 | ||
| 47 | build() { | 47 | build() { |
| 48 | Column(){ | 48 | Column(){ |
| 49 | - CustomTitleAndEditUI({titleName:'我的收藏',isDisplayButton:true,editCallback:()=>{ | 49 | + CustomTitleAndEditUI({titleName:'我的收藏',isDisplayButton:this.browSingModel.viewType == ViewType.ERROR || this.browSingModel.viewType == ViewType.EMPTY?false:true,editCallback:()=>{ |
| 50 | this.allSelectDatas(false) | 50 | this.allSelectDatas(false) |
| 51 | this.isAllSelect = false | 51 | this.isAllSelect = false |
| 52 | this.selectDatas = [] | 52 | this.selectDatas = [] |
| @@ -19,7 +19,7 @@ export struct BigPicCardComponent { | @@ -19,7 +19,7 @@ export struct BigPicCardComponent { | ||
| 19 | 19 | ||
| 20 | aboutToAppear() { | 20 | aboutToAppear() { |
| 21 | // 取第一个数据 | 21 | // 取第一个数据 |
| 22 | - if (this.compDTO.operDataList) { | 22 | + if (this.compDTO.operDataList.length > 0) { |
| 23 | this.contentDTO = this.compDTO.operDataList[0]; | 23 | this.contentDTO = this.compDTO.operDataList[0]; |
| 24 | this.contentDTO.appStyle = "2"; | 24 | this.contentDTO.appStyle = "2"; |
| 25 | } | 25 | } |
-
Please register or login to post a comment