fix
This commit is contained in:
@@ -283,7 +283,6 @@ const routes: Array<RouteRecordRaw> = [
|
||||
name: "myListingsSelectItem",
|
||||
meta: {
|
||||
enter: "all",
|
||||
cache: true,
|
||||
sellerHeaderTitleKey: "Seller.SelectCollection",
|
||||
sellerBreadcrumbs: [
|
||||
myListingsBreadcrumb,
|
||||
|
||||
@@ -147,9 +147,10 @@ onMounted(()=>{
|
||||
// 开始监听
|
||||
if(resizeObserver)resizeObserver.observe(listingsBoxRef.value)
|
||||
})
|
||||
chooseList.value = []
|
||||
getCollectionDetail()
|
||||
})
|
||||
onActivated(()=>{
|
||||
getCollectionDetail()
|
||||
})
|
||||
onUnmounted(()=>{
|
||||
})
|
||||
@@ -370,7 +371,7 @@ const {} = toRefs(data);
|
||||
}
|
||||
> img{
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-fit: contain;
|
||||
}
|
||||
&.active{
|
||||
border: 1.5px solid #000;
|
||||
|
||||
@@ -157,7 +157,7 @@ const draftListing = async (item: any)=>{
|
||||
list2.value.unshift(item)
|
||||
list.value = list.value.filter((v: any)=>v.id != item.id)
|
||||
})
|
||||
message.success(t('Seller.draftMessage'))
|
||||
message.success($t('Seller.draftMessage'))
|
||||
}
|
||||
|
||||
const publishListing = async (item: any)=>{
|
||||
@@ -165,7 +165,7 @@ const publishListing = async (item: any)=>{
|
||||
list.value.unshift(item)
|
||||
list2.value = list2.value.filter((v: any)=>v.id != item.id)
|
||||
})
|
||||
message.success(t('Seller.publishMessage'))
|
||||
message.success($t('Seller.publishMessage'))
|
||||
}
|
||||
|
||||
const editListing = (item: any)=>{
|
||||
|
||||
Reference in New Issue
Block a user