From 4a11d172d2ae0aaa0b7a2aec0b1502c367b70417 Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Tue, 5 May 2026 14:27:59 +0800 Subject: [PATCH 1/2] fix --- .env.dev_build | 4 ++-- .gitignore | 4 +++- .../MyListings/EditDetail/components/ApparelSketchList.vue | 2 ++ .../MyListings/EditDetail/components/ProductImageList.vue | 2 ++ src/views/SellerDashboard/seller-header.vue | 5 +++-- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.env.dev_build b/.env.dev_build index 3f14d652..3b695a10 100644 --- a/.env.dev_build +++ b/.env.dev_build @@ -2,7 +2,7 @@ VITE_USER_NODE_ENV = 'development_cloud' # VITE_APP_BASE_URL = 'https://aida.com.hk/test' # VITE_APP_BASE_URL = 'http://18.167.251.121:10088' # VITE_APP_BASE_URL = 'https://api.aida.com.hk' -# VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk' -VITE_APP_BASE_URL = 'https://www.develop-ms.api.aida.com.hk/' +VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk' +# VITE_APP_BASE_URL = 'https://www.develop-ms.api.aida.com.hk/' # VITE_APP_BASE_URL = 'http://localhost:22170' diff --git a/.gitignore b/.gitignore index 97c229d8..cbc6cb77 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,6 @@ dist.rar *.sw? .eslintrc-auto-import.json components.d.ts -.cursor \ No newline at end of file +.cursor +*.zip +*.7z \ No newline at end of file diff --git a/src/views/SellerDashboard/MyListings/EditDetail/components/ApparelSketchList.vue b/src/views/SellerDashboard/MyListings/EditDetail/components/ApparelSketchList.vue index 2379ea97..0ce7fc90 100644 --- a/src/views/SellerDashboard/MyListings/EditDetail/components/ApparelSketchList.vue +++ b/src/views/SellerDashboard/MyListings/EditDetail/components/ApparelSketchList.vue @@ -71,6 +71,8 @@ .img-src { width: 100%; + height: 100%; + object-fit: contain; } .crop-tool { diff --git a/src/views/SellerDashboard/MyListings/EditDetail/components/ProductImageList.vue b/src/views/SellerDashboard/MyListings/EditDetail/components/ProductImageList.vue index 3f2b5593..b25023ac 100644 --- a/src/views/SellerDashboard/MyListings/EditDetail/components/ProductImageList.vue +++ b/src/views/SellerDashboard/MyListings/EditDetail/components/ProductImageList.vue @@ -130,7 +130,9 @@ } .img-src { + width: 100%; height: 100%; + object-fit: contain; } .main-pic { diff --git a/src/views/SellerDashboard/seller-header.vue b/src/views/SellerDashboard/seller-header.vue index fb17442f..dd159c10 100644 --- a/src/views/SellerDashboard/seller-header.vue +++ b/src/views/SellerDashboard/seller-header.vue @@ -108,8 +108,9 @@ } const resolveTitle = (title?: RouteMetaValue, titleKey?: RouteMetaValue) => { - const key = resolveMetaValue(titleKey) - return title ? t(title) || "" : "" + let key = title || titleKey + // const key = resolveMetaValue(titleKey) + return key ? t(key) || "" : "" } const autoBreadcrumbs = computed(() => { From d4e9462d394d581fee0b03e8cbc9ed3fed97244c Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Tue, 5 May 2026 14:34:12 +0800 Subject: [PATCH 2/2] fix --- .../Detail/detailLeft/module/uploadList.vue | 2 +- src/component/HomePage/Generate.vue | 4 +- .../HomePage/MarketingSketchUpload.vue | 2 +- src/component/HomePage/Upload.vue | 2 +- src/component/HomePage/layout.vue | 2 +- src/component/LibraryPage/createBrand.vue | 2 +- .../home/batchGeneration/createCloud.vue | 4 +- .../design/collection/MoodboardUpload.vue | 2 +- .../design/collection/PrintboardUpload.vue | 6 +- .../design/collection/SketchboardUpload.vue | 2 +- .../home/tools/deReconstruction/index.vue | 2 +- .../home/tools/patternMaking3D/three.vue | 2 +- .../home/tools/poseTransfer/index.vue | 4 +- src/component/home/tools/toProduct/index.vue | 2 +- src/tool/https.js | 528 +++++++++--------- src/views/HomeView/library.vue | 4 +- .../MyListings/EditDetail/api.ts | 2 +- 17 files changed, 286 insertions(+), 286 deletions(-) diff --git a/src/component/Detail/detailLeft/module/uploadList.vue b/src/component/Detail/detailLeft/module/uploadList.vue index de9737b4..4e36788c 100644 --- a/src/component/Detail/detailLeft/module/uploadList.vue +++ b/src/component/Detail/detailLeft/module/uploadList.vue @@ -12,7 +12,7 @@
- + { if (rv) { for(let file of this.fileList){ @@ -491,7 +491,7 @@ export default defineComponent({ } this.isUpload = true const hide = message.loading('loading', 0); - Https.axiosPost('/aida/api/element/upload', new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then( + Https.axiosPost('/api/element/upload', new_data,{headers:{'Content-Type': 'multipart/form-data'}}).then( (rv: any) => { for(let file of this.fileList){ if(fileData.uid === file.uid){ diff --git a/src/component/home/design/collection/SketchboardUpload.vue b/src/component/home/design/collection/SketchboardUpload.vue index 3c127296..7db1638c 100644 --- a/src/component/home/design/collection/SketchboardUpload.vue +++ b/src/component/home/design/collection/SketchboardUpload.vue @@ -70,7 +70,7 @@ v-show="sketchboardList.length < 20" >
--> - +