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] 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(() => {