This commit is contained in:
tangjinzhou 2017-12-29 17:05:12 +08:00
parent 280af6d07a
commit c8d6e4b039

View File

@ -86,10 +86,6 @@ export default {
this.$emit('click', event)
},
insertSpace (child, needInserted) {
// Check the child if is undefined or null.
if (child == null) {
return child
}
const SPACE = needInserted ? ' ' : ''
if (typeof child.text === 'string') {
let text = child.text.trim()