src/main/webapp/static/js/changetime.js
@@ -15,12 +15,14 @@ }) return } str = this.id.split('-') layer.open({ type: 1, area: '400px', title: '添加结束时间', content: $('#realTimes').html(), success: function (layero, index) { console.log(str) layui.form.on('submit(editSubmit)', function (data) { realEndTime = $("#realEndTime").val(); param = { @@ -45,7 +47,7 @@ elem: '#realEndTime' ,type: 'datetime' }) str = this.id.split('-') }) })