提交 e79fcc73 编写于 作者: Q qiang

Merge branch 'dev' into alpha

......@@ -38,7 +38,7 @@ function parseText (el) {
}
})
el.children = [{ type: 2, expression: expression.join('+'), tokens: [] }]
} else if (children.length === 1) {
} else if (children.length === 1 && children[0].text) {
children[0].text = children[0].text.replace(/\n/g, '').replace(/\\n/g, '\n')
}
}
......
......@@ -50,7 +50,7 @@ export class VDomSync {
vm._$id = generateId(vm, findParent(vm), this.version)
let vData = this.addBatchVData[vm._$id]
if (!vData) {
console.error('cid unmatched', vm)
// console.error('cid unmatched', vm)
vData = [{}, {}]
} else {
delete this.addBatchVData[vm._$id]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册