Commit 3f5f9181 authored by 满振华's avatar 满振华

修改upload

parent be855896
......@@ -112,7 +112,7 @@ class UploadCom extends React.Component {
return file;
}
//处理保存到后台的数据
const url = `${item.domain ? 'https://' + item.domain : CDN_HOST}/${item.value}`;
const url = item.url || `${item.domain ? 'https://' + item.domain : CDN_HOST}/${item.value}`;
return {
...value,
uid: value.value,
......
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