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