mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-05 05:27:59 +08:00
Remove unnecessary code (#4995)
This commit is contained in:
parent
4cf49828c0
commit
673acecc34
@ -251,7 +251,7 @@ export function parse (
|
||||
text
|
||||
})
|
||||
} else if (text !== ' ' || !children.length || children[children.length - 1].text !== ' ') {
|
||||
currentParent.children.push({
|
||||
children.push({
|
||||
type: 3,
|
||||
text
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user