|
|
|
@ -21,7 +21,11 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (title) {
|
|
|
|
|
vnodes.push(<span slot='title'>{(title)}</span>)
|
|
|
|
|
if (title.length > 5) {
|
|
|
|
|
vnodes.push(<span slot='title' title={(title)}>{(title)}</span>)
|
|
|
|
|
} else {
|
|
|
|
|
vnodes.push(<span slot='title'>{(title)}</span>)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return vnodes
|
|
|
|
|
}
|
|
|
|
|