3.9K Star 18.4K Fork 5.3K

卓源软件 / JeeSite 4.x and 5.x

 / 详情

ueditor 后台配置项返回格式出错,上传功能将不能正常使用!

已完成
创建于  
2020-01-16 14:45

该问题是怎么引起的?

输入图片说明

重现步骤

报错信息

评论 (2)

HiTree 创建了任务

检查 ueditor 的 config 请求,看看返回了什么数据?

有三处细节:

  1. ueditor.json
  2. application.yml 中 fileAllowSuffixes
    3.前端调用uploadType="all" ,allowSuffixes

allowSuffixes: allowSuffixes!'', // 允许上传的后缀,前台的限制,不能超越file.*AllowSuffixes的设置,例如:.jpg,.png,

<#form:fileupload id="uploadFile" bizKey="${testData.id}" bizType="testData_file"
uploadType="all" class="" readonly="false" preview="weboffice"/>

姚海陆 任务状态待办的 修改为已完成
姚海陆 修改了描述

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(3)
6732 thinkgem 1651893329 1029371 godzt 1649816811 1892195 vikering 1670316254
Java
1
https://gitee.com/thinkgem/jeesite4.git
git@gitee.com:thinkgem/jeesite4.git
thinkgem
jeesite4
JeeSite 4.x and 5.x

搜索帮助