mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 02:57:50 +08:00
fix
This commit is contained in:
parent
280af6d07a
commit
c8d6e4b039
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user