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

修改upload

parent be855896
...@@ -112,7 +112,7 @@ class UploadCom extends React.Component { ...@@ -112,7 +112,7 @@ class UploadCom extends React.Component {
return file; 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 { return {
...value, ...value,
uid: value.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