mirror of https://github.com/vuejs/core.git
chore: update
This commit is contained in:
parent
1dbd642492
commit
952e1708b1
|
@ -28,7 +28,7 @@ export function render(_ctx) {
|
|||
const n0 = _createIf(() => (_ctx.ok) ? () => {
|
||||
const n2 = t0()
|
||||
return n2
|
||||
} : () => (_ctx.orNot) ? () => {
|
||||
} : _ctx.orNot ? () => {
|
||||
const n5 = t1()
|
||||
const n6 = t2()
|
||||
return [n5, n6]
|
||||
|
@ -104,7 +104,7 @@ export function render(_ctx) {
|
|||
const n0 = _createIf(() => (_ctx.ok) ? () => {
|
||||
const n2 = t0()
|
||||
return n2
|
||||
} : () => (_ctx.orNot) ? () => {
|
||||
} : _ctx.orNot ? () => {
|
||||
const n4 = t1()
|
||||
return n4
|
||||
} : () => {
|
||||
|
@ -124,7 +124,7 @@ export function render(_ctx) {
|
|||
const n0 = _createIf(() => (_ctx.ok) ? () => {
|
||||
const n2 = t0()
|
||||
return n2
|
||||
} : () => (_ctx.orNot) ? () => {
|
||||
} : _ctx.orNot ? () => {
|
||||
const n4 = t1()
|
||||
return n4
|
||||
} : undefined)
|
||||
|
|
|
@ -14,9 +14,9 @@ export function genIf(
|
|||
const [frag, push] = buildCodeFragment()
|
||||
|
||||
const codes: CodeFragment[] = [
|
||||
'() => (',
|
||||
isNested?undefined:'() => (',
|
||||
...genExpression(condition, context),
|
||||
')',
|
||||
isNested?undefined:')',
|
||||
]
|
||||
|
||||
let positiveArg = genBlock(positive, context)
|
||||
|
|
Loading…
Reference in New Issue