diff --git a/web/src/main/resources/static/js/jlw/resourcesQuestion/add.js b/web/src/main/resources/static/js/jlw/resourcesQuestion/add.js index 82c2a879..1916cee7 100644 --- a/web/src/main/resources/static/js/jlw/resourcesQuestion/add.js +++ b/web/src/main/resources/static/js/jlw/resourcesQuestion/add.js @@ -6,7 +6,7 @@ layui.define([ 'form', 'laydate', 'table','resourcesQuestionApi',"layedit"], fun layedit.set({ //富文本上传图片 uploadImage: { url: Common.ctxPath + "/jlw/file/update.do", - imgUrl:"http://localhost:9090/server" + imgUrl:Common.ctxPath } }); var questionStem_ = layedit.build('questionStem',{height:100}); //题干 diff --git a/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js b/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js index b7ab61d8..0848361d 100644 --- a/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js +++ b/web/src/main/resources/static/js/jlw/teacherOpenCourseHandsOnSimulationTasks/add.js @@ -11,7 +11,7 @@ layui.define([ 'form', 'laydate', 'table','teacherOpenCourseHandsOnSimulationTas layedit.set({ //富文本上传图片 uploadImage: { url: Common.ctxPath + "/jlw/file/update.do", - imgUrl:"http://localhost:9090/server" + imgUrl:Common.ctxPath } }); var one = layedit.build('test-editor1'); //建立编辑器 diff --git a/web/src/main/resources/static/js/jlw/teacherOpenCourseMergeResourcesQuestion/add.js b/web/src/main/resources/static/js/jlw/teacherOpenCourseMergeResourcesQuestion/add.js index e71b801f..ef84dae3 100644 --- a/web/src/main/resources/static/js/jlw/teacherOpenCourseMergeResourcesQuestion/add.js +++ b/web/src/main/resources/static/js/jlw/teacherOpenCourseMergeResourcesQuestion/add.js @@ -10,7 +10,7 @@ layui.define([ 'form', 'laydate', 'table','teacherOpenCourseMergeResourcesQuesti layedit.set({ //富文本上传图片 uploadImage: { url: Common.ctxPath + "/jlw/file/update.do", - imgUrl:"http://localhost:9090/server" + imgUrl:Common.ctxPath } }); var questionStem_ = layedit.build('questionStem',{height:100}); //题干