filters: {
ellipsis (value,count) {
if (!value) return ''
if (value.length > count) {
return value.slice(0,count) + '...'
}
return value
}
}
{{item.c | ellipsis(8)}}
filters: {
ellipsis (value,count) {
if (!value) return ''
if (value.length > count) {
return value.slice(0,count) + '...'
}
return value
}
}
{{item.c | ellipsis(8)}}