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