feat: 🎸 新增Detail详情组件并给出相应示例

This commit is contained in:
kailong321200875
2020-12-27 19:43:54 +08:00
parent fa9f24d5da
commit e77a931ef2
39 changed files with 800 additions and 192 deletions

View File

@@ -78,31 +78,31 @@ const searchData = [
const columns = [
{
key: 'title',
field: 'title',
label: '标题',
showOverflowTooltip: true
},
{
key: 'author',
field: 'author',
label: '作者'
},
{
key: 'display_time',
field: 'display_time',
label: '创建时间'
},
{
key: 'importance',
field: 'importance',
label: '重要性',
slots: {
default: 'importance'
}
},
{
key: 'pageviews',
field: 'pageviews',
label: '阅读数'
},
{
key: 'action',
field: 'action',
label: '操作',
width: '150px',
slots: {

View File

@@ -74,31 +74,31 @@ const searchData = [
const columns = [
{
key: 'title',
field: 'title',
label: '标题',
showOverflowTooltip: true
},
{
key: 'author',
field: 'author',
label: '作者'
},
{
key: 'display_time',
field: 'display_time',
label: '创建时间'
},
{
key: 'importance',
field: 'importance',
label: '重要性',
slots: {
default: 'importance'
}
},
{
key: 'pageviews',
field: 'pageviews',
label: '阅读数'
},
{
key: 'action',
field: 'action',
label: '操作',
width: '150px',
slots: {