Commit 70eb4181 by 陈超

A

parent 1a66e38c
...@@ -690,14 +690,7 @@ ...@@ -690,14 +690,7 @@
U('exams/Index/doHaddleExams'), U('exams/Index/doHaddleExams'),
param, param,
function(r) { function(r) {
if (typeof(r) != 'object') { let res = JSON.parse(r)
try {
let res = JSON.parse(r)
} catch (e) {
ui.error("处理异常,请重新尝试")
}
}
console.log(res)
if (res.status == 1) { if (res.status == 1) {
ui.success(res.data.info) ui.success(res.data.info)
window.location.href = res.data.jumpurl window.location.href = res.data.jumpurl
......
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