Authored by 陈林

兼容android grass host。review by 张文文。

... ... @@ -103,7 +103,7 @@ class ContentListContainer extends Component {
_jumpToGrassDetailPage(rowData) {
let {communityHost} = this.props
let url = communityHost + '/grass/article' + `/detail/${rowData.articleId}`
let url = communityHost + (Platform.OS === 'ios' ? '/grass': '') + `/article/detail/${rowData.articleId}`
let action, params;
if(Platform.OS === 'ios') {
action = 'go.h5hn';
... ...
... ... @@ -134,7 +134,7 @@ class ContentMessageContainer extends Component {
let {communityHost} = this.props
let url = communityHost + '/grass/article' + `/detail/${rowData.articleId}`
let url = communityHost + (Platform.OS === 'ios' ? '/grass': '') + `/article/detail/${rowData.articleId}`
let action, params;
if(Platform.OS === 'ios') {
action = 'go.h5hn';
... ...