Commit ba36eaf4 authored by zhangwenshuai's avatar zhangwenshuai

update upload

parent 99de487e
.search {
width: 100%;
height: 100%;
:global(.ant-select-selector) {
height: 100% !important;
align-items: center;
}
:global(.ant-select-selection) {
width: 100%;
min-height: 100%;
border-radius: 0;
display: flex;
align-items: center;
}
:global(.ant-select-selection-search-input) {
height: 100% !important;
}
}
.searchContainer {
width: 100%;
height: 100%;
:global(.ant-select-selection){
:global(.ant-select-selection__rendered) {
width: 100%;
}
:global(.ant-select-selection) {
min-height: 100%;
}
}
......@@ -39,7 +39,7 @@ const UploadCom = (props) => {
return setFormat(fileList);
}
const resData = file.response || {};
const url = `${domain ? `https://${domain}` : CDN_HOST}/${resData.key}`;
const url = `${extraData.domain ? `https://${extraData.domain}` : CDN_HOST}/${resData.key}`;
return {
uid: file.uid,
name: file.name,
......
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