1. 首页
  2. 编程语言
  3. Java
  4. ueditor自定义上传路径

ueditor自定义上传路径

上传者: 2019-07-23 00:47:35上传 ZIP文件 3.22MB 热度 52次
对源码进行了修改,实现了自定义上传路径设置,配置方便简单a、jsp页面中首先定义customJson参数,设置saveRootPath和filePathFormatvarcustomJson={      "saveRootPath":"d:/eoms4_attaches"  //绝对路径      ,"filePathFormat":"/自定义路径/{time}{rand:6}"   //图片上传路径     }b、实例化editor时把customJson参数传入vareditor=UE.getEditor("uplo
下载地址
用户评论