上传文件路径

beetlsql3-dev
姚丹ab 2 years ago
parent b9f9658056
commit 2bede29486

@ -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}); //题干

@ -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'); //建立编辑器

@ -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}); //题干

Loading…
Cancel
Save