Showing
1 changed file
with
5 additions
and
0 deletions
| @@ -17,6 +17,7 @@ import { Card19Component } from './cardview/Card19Component'; | @@ -17,6 +17,7 @@ import { Card19Component } from './cardview/Card19Component'; | ||
| 17 | import { Card20Component } from './cardview/Card20Component'; | 17 | import { Card20Component } from './cardview/Card20Component'; |
| 18 | import { Card21Component } from './cardview/Card21Component'; | 18 | import { Card21Component } from './cardview/Card21Component'; |
| 19 | import { SearchContentComponent } from './cardview/SearchContentComponent'; | 19 | import { SearchContentComponent } from './cardview/SearchContentComponent'; |
| 20 | +import { Logger } from 'wdKit/Index'; | ||
| 20 | 21 | ||
| 21 | /** | 22 | /** |
| 22 | * card适配器,卡片样式汇总,依据ContentDTO#appStyle | 23 | * card适配器,卡片样式汇总,依据ContentDTO#appStyle |
| @@ -27,6 +28,10 @@ export struct CardParser { | @@ -27,6 +28,10 @@ export struct CardParser { | ||
| 27 | @State contentDTO: ContentDTO = new ContentDTO(); | 28 | @State contentDTO: ContentDTO = new ContentDTO(); |
| 28 | @State compDTO: CompDTO = {} as CompDTO | 29 | @State compDTO: CompDTO = {} as CompDTO |
| 29 | 30 | ||
| 31 | + aboutToAppear(): void { | ||
| 32 | + Logger.info('contentDTO.contentText', JSON.stringify(this.contentDTO)) | ||
| 33 | + } | ||
| 34 | + | ||
| 30 | build() { | 35 | build() { |
| 31 | this.contentBuilder(this.contentDTO, this.compDTO); | 36 | this.contentBuilder(this.contentDTO, this.compDTO); |
| 32 | } | 37 | } |
-
Please register or login to post a comment