|
|
@@ -278,11 +278,11 @@ export function render(_ctx) {
|
|
|
`;
|
|
|
|
|
|
exports[`compiler: element transform > component event with multiple modifiers and event options 1`] = `
|
|
|
-"import { resolveComponent as _resolveComponent, withModifiers as _withModifiers, withKeys as _withKeys, createComponentWithFallback as _createComponentWithFallback } from 'vue';
|
|
|
+"import { resolveComponent as _resolveComponent, withModifiers as _withModifiers, createComponentWithFallback as _createComponentWithFallback } from 'vue';
|
|
|
|
|
|
export function render(_ctx) {
|
|
|
const _component_Foo = _resolveComponent("Foo")
|
|
|
- const n0 = _createComponentWithFallback(_component_Foo, { onFooCaptureOnce: () => _withKeys(_withModifiers(_ctx.bar, ["stop","prevent"]), ["enter"]) }, null, true)
|
|
|
+ const n0 = _createComponentWithFallback(_component_Foo, { onFooCaptureOnce: () => _withModifiers(_ctx.bar, ["stop","prevent"]) }, null, true)
|
|
|
return n0
|
|
|
}"
|
|
|
`;
|
|
|
@@ -434,14 +434,14 @@ export function render(_ctx) {
|
|
|
`;
|
|
|
|
|
|
exports[`compiler: element transform > props merging: event handlers 1`] = `
|
|
|
-"import { createInvoker as _createInvoker, withKeys as _withKeys, delegate as _delegate, delegateEvents as _delegateEvents, template as _template } from 'vue';
|
|
|
+"import { createInvoker as _createInvoker, delegate as _delegate, delegateEvents as _delegateEvents, template as _template } from 'vue';
|
|
|
const t0 = _template("<div></div>", true)
|
|
|
_delegateEvents("click")
|
|
|
|
|
|
export function render(_ctx) {
|
|
|
const n0 = t0()
|
|
|
- _delegate(n0, "click", _createInvoker(_withKeys(e => _ctx.a(e), ["foo"])))
|
|
|
- _delegate(n0, "click", _createInvoker(_withKeys(e => _ctx.b(e), ["bar"])))
|
|
|
+ _delegate(n0, "click", _createInvoker(e => _ctx.a(e)))
|
|
|
+ _delegate(n0, "click", _createInvoker(e => _ctx.b(e)))
|
|
|
return n0
|
|
|
}"
|
|
|
`;
|