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

wip(app): nvue

上级 14ac2e17
......@@ -588,6 +588,7 @@ class NVueTextNode {
this.parentNode = null;
this.nodeType = 3;
this.text = text;
this.children = [];
}
}
......
......@@ -393,6 +393,7 @@ export declare class NVueTextNode {
parentNode: null | NVueElement;
nodeType: 3;
text: string;
children: unknown[];
constructor(text: string);
}
......
......@@ -584,6 +584,7 @@ class NVueTextNode {
this.parentNode = null;
this.nodeType = 3;
this.text = text;
this.children = [];
}
}
......
......@@ -8,12 +8,14 @@ export class NVueTextNode {
parentNode: null | NVueElement
nodeType: 3
text: string
children: unknown[]
constructor(text: string) {
this.instanceId = ''
this.nodeId = latestNodeId++
this.parentNode = null
this.nodeType = 3
this.text = text
this.children = []
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册