fix
parent
280af6d07a
commit
c8d6e4b039
|
@ -86,10 +86,6 @@ export default {
|
||||||
this.$emit('click', event)
|
this.$emit('click', event)
|
||||||
},
|
},
|
||||||
insertSpace (child, needInserted) {
|
insertSpace (child, needInserted) {
|
||||||
// Check the child if is undefined or null.
|
|
||||||
if (child == null) {
|
|
||||||
return child
|
|
||||||
}
|
|
||||||
const SPACE = needInserted ? ' ' : ''
|
const SPACE = needInserted ? ' ' : ''
|
||||||
if (typeof child.text === 'string') {
|
if (typeof child.text === 'string') {
|
||||||
let text = child.text.trim()
|
let text = child.text.trim()
|
||||||
|
|
Loading…
Reference in New Issue