mirror of https://github.com/vuejs/core.git
chore: tweaks
This commit is contained in:
parent
7eb3192cf8
commit
e7ac4d3e7f
|
@ -107,11 +107,11 @@ export class CodegenContext {
|
||||||
for (let j = this.lastTIndex + 1; j <= i; j++) {
|
for (let j = this.lastTIndex + 1; j <= i; j++) {
|
||||||
this.templateVars.set(
|
this.templateVars.set(
|
||||||
j,
|
j,
|
||||||
`t${(this.lastTId = getNextId(map, Math.max(j, this.lastTId + 1)))}`,
|
(name = `t${(this.lastTId = getNextId(map, Math.max(j, this.lastTId + 1)))}`),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
this.lastTIndex = i
|
this.lastTIndex = i
|
||||||
return this.templateVars.get(i)!
|
return name!
|
||||||
}
|
}
|
||||||
|
|
||||||
pName(i: number): string {
|
pName(i: number): string {
|
||||||
|
|
Loading…
Reference in New Issue