Commit 68e9c2c1 by 冷斌

fix bug

parent 6672495a
......@@ -592,7 +592,7 @@ class AdminQuestionAction extends AdministratorAction
// 试题难度
$level = intval($_POST['exams_level']);
// 试题考点
$exams_point = intval($_POST['exams_point_id']);
$exams_point = 0; //intval($_POST['exams_point_id']);
$attach_id = trim($_POST['attach_ids'], '|') ?: 0;
if ($attach_id) {
......
......@@ -128,8 +128,8 @@
return false;
}
if(!exams_point_id || exams_point_id == 0){
ui.error("请选择考点");
return false;
// ui.error("请选择考点");
// return false;
}
if(exams_module_type != 'problemQuestionBank' && !exams_module_id){
ui.error("请选择版块");
......
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