This commit is contained in:
parent
2cabc8102a
commit
55cf6034c0
@ -22,6 +22,11 @@
|
|||||||
<a-image :src="record.image"/>
|
<a-image :src="record.image"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else-if="column.key === 'detail'">
|
||||||
|
<router-link target="_blank" :to="{ path: '/article/detail', query: {id: record.ArticleID} }">
|
||||||
|
详情
|
||||||
|
</router-link>
|
||||||
|
</template>
|
||||||
<template v-else-if="column.key === 'skuID'">
|
<template v-else-if="column.key === 'skuID'">
|
||||||
<a v-if="record.skuID !== '' " :href="record.link" target="_blank">{{record.skuID}}</a>
|
<a v-if="record.skuID !== '' " :href="record.link" target="_blank">{{record.skuID}}</a>
|
||||||
<span v-else>正在抓取信息</span>
|
<span v-else>正在抓取信息</span>
|
||||||
@ -104,6 +109,10 @@ const columns = [
|
|||||||
title: '图片',
|
title: '图片',
|
||||||
key: 'image',
|
key: 'image',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '详情',
|
||||||
|
key: 'detail',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '品牌',
|
title: '品牌',
|
||||||
dataIndex: 'brand',
|
dataIndex: 'brand',
|
||||||
|
@ -19,6 +19,11 @@
|
|||||||
<a-image :src="record.image"/>
|
<a-image :src="record.image"/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-else-if="column.key === 'detail'">
|
||||||
|
<router-link target="_blank" :to="{ path: '/article/detail', query: {id: record.ArticleID} }">
|
||||||
|
详情
|
||||||
|
</router-link>
|
||||||
|
</template>
|
||||||
<template v-else-if="column.key === 'skuID'">
|
<template v-else-if="column.key === 'skuID'">
|
||||||
<a v-if="record.skuID !== '' " :href="record.link" target="_blank">{{record.skuID}}</a>
|
<a v-if="record.skuID !== '' " :href="record.link" target="_blank">{{record.skuID}}</a>
|
||||||
<span v-else>正在抓取信息</span>
|
<span v-else>正在抓取信息</span>
|
||||||
@ -100,6 +105,10 @@ const columns = [
|
|||||||
title: '图片',
|
title: '图片',
|
||||||
key: 'image',
|
key: 'image',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '详情',
|
||||||
|
key: 'detail',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '品牌',
|
title: '品牌',
|
||||||
dataIndex: 'brand',
|
dataIndex: 'brand',
|
||||||
|
Loading…
Reference in New Issue
Block a user