Fix upload issue for headshot (#159)
Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
1 parent
81c233119a
commit
cea96712a9
3 files changed
+9
-3
No files matched your search
@@ -152,7 +152,7 @@ export default defineComponent({
|
||||
.pane {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: left;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
height: auto;
|
||||
|
||||
@@ -57,8 +57,7 @@ export default defineComponent({
|
||||
urls(): string[] {
|
||||
// @ts-ignore
|
||||
return this.fileList.map((file: UploadFile) => {
|
||||
const url = file?.response?.file_url;
|
||||
return url.replace('https://cdn.acedata.cloud', 'https://acedata-cdn.zhishuyun.com');
|
||||
return file?.response?.file_url;
|
||||
});
|
||||
},
|
||||
value: {
|
||||
|
||||
Reference in new issue
Block a user