Commit 7bb8920c authored by 周宏民's avatar 周宏民

fix: rich

parent ef0cd775
Pipeline #57707 failed with stages
in 4 seconds
...@@ -387,7 +387,7 @@ const RichText = forwardRef((props, ref) => { ...@@ -387,7 +387,7 @@ const RichText = forwardRef((props, ref) => {
const arr = [...fileList]; const arr = [...fileList];
const url = res.data.replace(/[\\ \/=]/g, '/'); const url = res.data.replace(/[\\ \/=]/g, '/');
arr.unshift({ arr.unshift({
name: file.name, name: name,
type: file.type ? file.type.toLowerCase() : '', type: file.type ? file.type.toLowerCase() : '',
size: file.size, size: file.size,
path: `${API.GET_DOWNLOADFILES}?filePath=${url}`, path: `${API.GET_DOWNLOADFILES}?filePath=${url}`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment