Commit 8c0e8758 by zhanghaozhe

ai测试

parent 67805b6b
...@@ -50,6 +50,11 @@ class Assist extends Component { ...@@ -50,6 +50,11 @@ class Assist extends Component {
} }
submit = () => { submit = () => {
const {history, user} = this.props
if (user.hasError) {
history.push('/passport')
return
}
const {question, answer} = this.state const {question, answer} = this.state
if (!answer[question.id]) { if (!answer[question.id]) {
Toast.info('请选择后进提交', 2, null, false) Toast.info('请选择后进提交', 2, null, false)
......
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