提交 6a199c4b authored 作者: lihuihui's avatar lihuihui

updata

上级 352da1a9
...@@ -103,8 +103,8 @@ export default { ...@@ -103,8 +103,8 @@ export default {
}, },
dataList() { dataList() {
let num = 1 let num = 1
// console.log(this.questionsData.questions)
return this.questionsData.questions.map(item => { return this.questionsData.questions.map(item => {
// console.log(this.questionsData.questions.find(items => { return items.type }))
item.question_list.map((subitem, index) => { item.question_list.map((subitem, index) => {
subitem.num = num + index subitem.num = num + index
return subitem return subitem
......
...@@ -650,7 +650,6 @@ export default { ...@@ -650,7 +650,6 @@ export default {
} }
param.status = status param.status = status
Exam.examSubmit(param, this.requestParam.papersUrl).then(res => { Exam.examSubmit(param, this.requestParam.papersUrl).then(res => {
console.log(`${param}=====${JSON.stringify(res)}`)
if (res.exm_status === 1) { if (res.exm_status === 1) {
clearInterval(this.initTime) clearInterval(this.initTime)
clearInterval(this.clockCount) clearInterval(this.clockCount)
......
...@@ -126,9 +126,9 @@ export default { ...@@ -126,9 +126,9 @@ export default {
} }
}, },
bindVisitor(call) { bindVisitor(call) {
return api.bindVisitor({ user_id: window.localStorage.userId }).then(res => { window.localStorage.userId
call() ? api.bindVisitor({ user_id: window.localStorage.userId }).then(res => { call() })
}) : call()
}, },
wechatLogin() { wechatLogin() {
const appId = 'wxc6044475caf2805a' const appId = 'wxc6044475caf2805a'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论