From: daiwei Date: Fri, 20 Jun 2025 00:59:51 +0000 (+0800) Subject: chore: update snap X-Git-Tag: v3.6.0-alpha.1~16^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c86bf7b11fa0cd0765d43361a3d375d384b3d1eb;p=thirdparty%2Fvuejs%2Fcore.git chore: update snap --- diff --git a/packages/compiler-vapor/__tests__/transforms/__snapshots__/expression.spec.ts.snap b/packages/compiler-vapor/__tests__/transforms/__snapshots__/expression.spec.ts.snap index 454e50e9cb..7e157236bf 100644 --- a/packages/compiler-vapor/__tests__/transforms/__snapshots__/expression.spec.ts.snap +++ b/packages/compiler-vapor/__tests__/transforms/__snapshots__/expression.spec.ts.snap @@ -34,7 +34,7 @@ export function render(_ctx, $props, $emit, $attrs, $slots) { `; exports[`compiler: expression > update expression 1`] = ` -"import { child as _child, toDisplayString as _toDisplayString, setText as _setText, setProp as _setProp, renderEffect as _renderEffect, template as _template } from 'vue'; +"import { child as _child, setProp as _setProp, toDisplayString as _toDisplayString, setText as _setText, renderEffect as _renderEffect, template as _template } from 'vue'; const t0 = _template("
", true) export function render(_ctx) { @@ -44,12 +44,11 @@ export function render(_ctx) { _renderEffect(() => { const _String = String const _foo = _ctx.foo - - _setText(n0, _toDisplayString(_String(_foo.id++)) + " " + _toDisplayString(_foo) + " " + _toDisplayString(_ctx.bar)) - _setText(x1, _toDisplayString(_String(_foo.id++)) + " " + _toDisplayString(_foo) + " " + _toDisplayString(_ctx.bar)) _setProp(n1, "id", _String(_foo.id++)) _setProp(n1, "foo", _foo) _setProp(n1, "bar", _ctx.bar++) + _setText(n0, _toDisplayString(_String(_foo.id++)) + " " + _toDisplayString(_foo) + " " + _toDisplayString(_ctx.bar)) + _setText(x1, _toDisplayString(_String(_foo.id++)) + " " + _toDisplayString(_foo) + " " + _toDisplayString(_ctx.bar)) }) return n1 }"