ueditor自定义上传路径

shanshangqiaofu 50 0 ZIP 2019-07-23 00:07:35

对源码进行了修改,实现了自定义上传路径设置,配置方便简单a、jsp页面中首先定义customJson参数,设置saveRootPath和filePathFormatvarcustomJson={      "saveRootPath":"d:/eoms4_attaches"  //绝对路径      ,"filePathFormat":"/自定义路径/{time}{rand:6}"   //图片上传路径     }b、实例化editor时把customJson参数传入vareditor=UE.getEditor("uplo

用户评论
请输入评论内容
评分:
暂无评论