liyubing

fix:1)新闻搜索页搜索关键字“扬子晚报”或者“广西公安”必现系统奔溃

@@ -146,6 +146,7 @@ export struct RmhTitle { @@ -146,6 +146,7 @@ export struct RmhTitle {
146 .height(16) 146 .height(16)
147 } 147 }
148 } 148 }
  149 + if(this.rmhInfo?.rmhDesc != undefined){
149 Text(this.rmhInfo?.rmhDesc.replaceAll('\n', '')) 150 Text(this.rmhInfo?.rmhDesc.replaceAll('\n', ''))
150 .fontSize($r("app.float.font_size_12")) 151 .fontSize($r("app.float.font_size_12"))
151 .fontColor($r("app.color.color_B0B0B0")) 152 .fontColor($r("app.color.color_B0B0B0"))
@@ -154,6 +155,8 @@ export struct RmhTitle { @@ -154,6 +155,8 @@ export struct RmhTitle {
154 .textOverflow({ overflow: TextOverflow.Ellipsis }) 155 .textOverflow({ overflow: TextOverflow.Ellipsis })
155 .textAlign(TextAlign.Start) 156 .textAlign(TextAlign.Start)
156 } 157 }
  158 +
  159 + }
157 .width('75%') 160 .width('75%')
158 } 161 }
159 } 162 }