Skip to content

Commit d0d2e95

Browse files
committed
update 《template 模板是怎样通过 Compile 编译的》
1 parent e7d518e commit d0d2e95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

《template 模板是怎样通过 Compile 编译的》.js

+1
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ function parseHTML () {
157157
const element = {
158158
type: 1,
159159
tag: startTagMatch.tagName,
160+
lowerCasedTag: startTagMatch.tagName.toLowerCase(),
160161
attrsList: startTagMatch.attrs,
161162
attrsMap: makeAttrsMap(startTagMatch.attrs),
162163
parent: currentParent,

0 commit comments

Comments
 (0)