Commit be1fb2a4 by FE

Merge branch 'pythonClass' into dev

parents f55c50d9 01f2a48e
...@@ -84,10 +84,10 @@ class PythonClass extends Component { ...@@ -84,10 +84,10 @@ class PythonClass extends Component {
const { history } = this.props; const { history } = this.props;
const { isShare, entryMode } = this.state; const { isShare, entryMode } = this.state;
if(browser.isWeixin) { if(browser.isWeixin) {
history.replace(`/pythonShare?id=${getParam('id')}&type=${getParam('type')}&ques=${getParam('ques')}&from=python`);
this.setState({ this.setState({
entryMode: 1 entryMode: 1
}); });
history.replace(`/pythonShare?id=${getParam('id')}&type=${getParam('type')}&ques=${getParam('ques')}&from=python`);
let title = ''; let title = '';
let labelName = this.formatTitle(params); let labelName = this.formatTitle(params);
if(entryMode !== 0 && !isShare) { if(entryMode !== 0 && !isShare) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment