提交 8efde992 编写于 作者: fxy060608's avatar fxy060608

feat(weex): add text,u-text to unitary tag

上级 a6537ebf
......@@ -4560,8 +4560,8 @@ var props = {
// The "unitary tag" means that the tag node and its children
// must be sent to the native together.
var isUnitaryTag = makeMap('cell,header,cell-slot,recycle-list', true);
var isUnitaryTag = makeMap('cell,header,cell-slot,recycle-list,text,u-text', true);
// fixed by xxxxxx
function preTransformNode (el) {
if (isUnitaryTag(el.tag) && !el.attrsList.some(function (item) { return item.name === 'append'; })) {
el.attrsMap.append = 'tree';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册