修复点击商品草稿删除里面没有内容
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
<keep-alive :include="cachedRoutes">
|
||||
<component
|
||||
:is="Component"
|
||||
:key="route.name"
|
||||
:cachedRoutes="cachedRoutes"
|
||||
/>
|
||||
</keep-alive>
|
||||
|
||||
@@ -283,6 +283,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||
name: "myListingsSelectItem",
|
||||
meta: {
|
||||
enter: "all",
|
||||
cache: true,
|
||||
sellerHeaderTitle: "Select Collection",
|
||||
sellerBreadcrumbs: [
|
||||
myListingsBreadcrumb,
|
||||
|
||||
@@ -7,6 +7,10 @@ import { Https } from '@/tool/https'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { useStore } from 'vuex'
|
||||
|
||||
// 定义组件名称
|
||||
defineOptions({
|
||||
name: 'myListingsSelectItem'
|
||||
})
|
||||
//const props = defineProps({
|
||||
//})
|
||||
//const emit = defineEmits([
|
||||
|
||||
@@ -21,6 +21,7 @@ const fun = ref(null)
|
||||
let deleteDraftsRef = ref(null)
|
||||
|
||||
const open = (data:any,deleteFun)=>{
|
||||
console.log(data)
|
||||
item.value = data
|
||||
fun.value = deleteFun
|
||||
emit('update:visible', true)
|
||||
@@ -80,11 +81,11 @@ const { showAgain } = toRefs(data);
|
||||
</div>
|
||||
<div class="deleteContent">
|
||||
<div class="img">
|
||||
<img :src="item?.value?.cover" alt="">
|
||||
<img :src="item?.cover" alt="">
|
||||
</div>
|
||||
<div class="detail">
|
||||
<div class="name">{{ item?.value?.title }}</div>
|
||||
<div class="price">HK${{ item?.value?.price }} · Draft</div>
|
||||
<div class="name">{{ item?.title }}</div>
|
||||
<div class="price">HK${{ item?.price }} · Draft</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnBox">
|
||||
|
||||
Reference in New Issue
Block a user