diff --git a/change/@acedatacloud-nexior-c4fad46e-12b7-4348-9591-041a8b90f5c0.json b/change/@acedatacloud-nexior-c4fad46e-12b7-4348-9591-041a8b90f5c0.json new file mode 100644 index 00000000..fa94f323 --- /dev/null +++ b/change/@acedatacloud-nexior-c4fad46e-12b7-4348-9591-041a8b90f5c0.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "fix upload origin", + "packageName": "@acedatacloud/nexior", + "email": "office@acedata.cloud", + "dependentChangeType": "patch" +} diff --git a/src/components/headshots/config/ElementsSelector.vue b/src/components/headshots/config/ElementsSelector.vue index 467a3a11..12110ea5 100644 --- a/src/components/headshots/config/ElementsSelector.vue +++ b/src/components/headshots/config/ElementsSelector.vue @@ -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; diff --git a/src/components/headshots/config/ImageUrlsInput.vue b/src/components/headshots/config/ImageUrlsInput.vue index 4d3e83fd..7e270657 100644 --- a/src/components/headshots/config/ImageUrlsInput.vue +++ b/src/components/headshots/config/ImageUrlsInput.vue @@ -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: {