This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
发现bug,视频文件上传链接地址获取不对 #61
Comments
@ |
上传逻辑在service里处理 |
@yunemr 看service注释,写的很清楚啊 |
@Tian-Hun 是呀,用默认的没问题。但是service中url只是默认的。用户可以修改为其他,比如:filepath,哪你哪个插入视频的时候,连接地址就获取不到。 |
@yunemr 嗯 改成你接口里返回的字段名就OK了呗,纠结什么? |
@Tian-Hun 对,我是修改为我接口的字段名,发现在notadd/neditor/blob/master/dialogs/video/video.js中的第741行, |
Tian-Hun
added a commit
that referenced
this issue
Sep 18, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
视频文件上传链接地址获取不对
我修改了源码video.js文件中741行如下:
uploadVideoList.push({ 'url': res.url, 'type': res.mimetype, 'original':res.original || '' });
修改为:
uploadVideoList.push(res);
The text was updated successfully, but these errors were encountered: