|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
| 3 | +exports[`compiler: transform v-model input w/ dynamic v-bind 1`] = ` |
| 4 | +"const _Vue = Vue |
| 5 | +
|
| 6 | +return function render() { |
| 7 | + with (this) { |
| 8 | + const { vModelDynamic: _vModelDynamic, mergeProps: _mergeProps, createVNode: _createVNode, withDirectives: _withDirectives, createBlock: _createBlock, openBlock: _openBlock } = _Vue |
| 9 | + |
| 10 | + return (_openBlock(), _withDirectives(_createBlock(\\"input\\", _mergeProps(obj, { |
| 11 | + modelValue: model, |
| 12 | + \\"onUpdate:modelValue\\": $event => (model = $event) |
| 13 | + }), null, 16 /* FULL_PROPS */, [\\"modelValue\\", \\"onUpdate:modelValue\\"]), [ |
| 14 | + [_vModelDynamic, model] |
| 15 | + ])) |
| 16 | + } |
| 17 | +}" |
| 18 | +`; |
| 19 | + |
| 20 | +exports[`compiler: transform v-model input w/ dynamic v-bind 2`] = ` |
| 21 | +"const _Vue = Vue |
| 22 | +
|
| 23 | +return function render() { |
| 24 | + with (this) { |
| 25 | + const { vModelDynamic: _vModelDynamic, createVNode: _createVNode, withDirectives: _withDirectives, resolveDirective: _resolveDirective, createBlock: _createBlock, openBlock: _openBlock } = _Vue |
| 26 | + |
| 27 | + const _directive_bind = _resolveDirective(\\"bind\\") |
| 28 | + |
| 29 | + return (_openBlock(), _withDirectives(_createBlock(\\"input\\", { |
| 30 | + modelValue: model, |
| 31 | + \\"onUpdate:modelValue\\": $event => (model = $event) |
| 32 | + }, null, 8 /* PROPS */, [\\"modelValue\\", \\"onUpdate:modelValue\\"]), [ |
| 33 | + [_directive_bind, val, key], |
| 34 | + [_vModelDynamic, model] |
| 35 | + ])) |
| 36 | + } |
| 37 | +}" |
| 38 | +`; |
| 39 | + |
3 | 40 | exports[`compiler: transform v-model modifiers .lazy 1`] = `
|
4 | 41 | "const _Vue = Vue
|
5 | 42 |
|
|
0 commit comments