Showing
1 changed file
with
3 additions
and
1 deletions
| @@ -105,7 +105,9 @@ export struct SearchResultContentComponent { | @@ -105,7 +105,9 @@ export struct SearchResultContentComponent { | ||
| 105 | } else { | 105 | } else { |
| 106 | this.bean.cnFansNum = item.fansNum + "" | 106 | this.bean.cnFansNum = item.fansNum + "" |
| 107 | } | 107 | } |
| 108 | - this.bean.introduction = item.introduction | 108 | + let regex:RegExp = new RegExp('\n','g') |
| 109 | + this.bean.introduction = item.introduction.replace(regex,'') | ||
| 110 | + | ||
| 109 | this.bean.mainControl = item.mainControl | 111 | this.bean.mainControl = item.mainControl |
| 110 | this.bean.banControl = item.banControl | 112 | this.bean.banControl = item.banControl |
| 111 | this.bean.cnUserType = item.userType | 113 | this.bean.cnUserType = item.userType |
-
Please register or login to post a comment