[update] 52899
This commit is contained in:
@@ -72,6 +72,11 @@
|
|||||||
<a class="action-edit" @click="actionEdit(record)" v-has="'dict:edit'">{{$t('edit')}}</a>
|
<a class="action-edit" @click="actionEdit(record)" v-has="'dict:edit'">{{$t('edit')}}</a>
|
||||||
<a class="action-delete" href="javascript:;" @click="onDelete(record)" v-has="'dict:logicDelete'">{{$t('delete')}}</a>
|
<a class="action-delete" href="javascript:;" @click="onDelete(record)" v-has="'dict:logicDelete'">{{$t('delete')}}</a>
|
||||||
</template>
|
</template>
|
||||||
|
<template slot="describe" slot-scope="text, record">
|
||||||
|
<span class="text" :title="text">
|
||||||
|
{{text && text.length > 18?text.slice(0,17)+'...':text}}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
</a-table>
|
</a-table>
|
||||||
<div class="page" v-if="tableData.length > 0">
|
<div class="page" v-if="tableData.length > 0">
|
||||||
<a-pagination
|
<a-pagination
|
||||||
@@ -145,6 +150,7 @@
|
|||||||
title: this.$t('describe'),
|
title: this.$t('describe'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'description',
|
dataIndex: 'description',
|
||||||
|
scopedSlots: { customRender: 'describe' },
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 300
|
width: 300
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user