diff --git a/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/add.js b/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/add.js index 72b85ce8..3001973c 100644 --- a/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/add.js +++ b/web/src/main/resources/static/js/jlw/teacherOpenCourseScheduleSession/add.js @@ -391,17 +391,6 @@ layui.define(['form', 'laydate', 'table', 'xmSelect', 'teacherOpenCourseSchedule $("#teacherOpenCourseName").val(data.teacherOpenCourseTitle); $("#teacherId option[value='" + data.teacherId + "']").attr("selected","selected"); var xmSeValue = data.schoolClassIds; - var xmSeInitValue = []; - if (!$.isEmpty(xmSeValue)) { - if (xmSeValue.toString().indexOf(",") >= 0) { - xmSeValue.split(',').forEach(function (value) { - xmSeInitValue.push(parseInt(value)) - }); - } else { - xmSeInitValue.push(xmSeValue) - } - } - demo1.setValue(xmSeValue.split(","))//xmselect多选下拉 取值 回显 form.render();