From 7360fb5e7e6fcc12af8bf51a836ef0ff55719cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E4=B8=B9ab?= <1421553879@qq.com> Date: Mon, 24 Apr 2023 01:33:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E8=AF=BE=E7=AE=A1=E7=90=86-=E5=8E=BB?= =?UTF-8?q?=E6=8E=92=E8=AF=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/jlw/teacherOpenCourseScheduleSession/add.js | 11 ----------- 1 file changed, 11 deletions(-) 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();