...
|
...
|
@@ -86,17 +86,11 @@ export default function native(platform) { |
|
|
render() {
|
|
|
const store = configureStore(getInitialState());
|
|
|
store.dispatch(setPlatform(platform));
|
|
|
let segment = getInitSegment(this.props.initType);
|
|
|
store.dispatch(setSegment(segment));
|
|
|
if (this.props.initType == 0) {
|
|
|
let gender = this.props.genderType;
|
|
|
store.dispatch(setGender(gender));
|
|
|
}
|
|
|
|
|
|
|
|
|
let type = this.props.type;
|
|
|
if (type == 'detail') {
|
|
|
let id=this.props.id;
|
|
|
let udid=this.props.udid;
|
|
|
let id = this.props.id;
|
|
|
store.dispatch(setId(id));
|
|
|
return (
|
|
|
<Provider store={store}>
|
...
|
...
|
@@ -104,6 +98,13 @@ export default function native(platform) { |
|
|
</Provider>
|
|
|
);
|
|
|
} else {
|
|
|
let segment = getInitSegment(this.props.initType);
|
|
|
store.dispatch(setSegment(segment));
|
|
|
if (this.props.initType == 0) {
|
|
|
let gender = this.props.genderType;
|
|
|
store.dispatch(setGender(gender));
|
|
|
}
|
|
|
|
|
|
return (
|
|
|
<Provider store={store}>
|
|
|
<PlustarContainer />
|
...
|
...
|
|