Skip to content

Commit

Permalink
fix head example
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Feb 9, 2022
1 parent a5c635e commit a82e2e9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion example/Example.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
@table-creating="doCreating"
@table-created="doCreated"
>
<template slot="HEAD__details_control">
<template v-slot:HEAD__details_control>
<b>Show Details</b>
</template>
<template
Expand Down
10 changes: 4 additions & 6 deletions example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -946,9 +946,7 @@ var _hoisted_6 = /*#__PURE__*/(0, _vue.createElementVNode)("div", {
/* HOISTED */
);

var _hoisted_7 = /*#__PURE__*/(0, _vue.createElementVNode)("template", {
slot: "HEAD__details_control"
}, [/*#__PURE__*/(0, _vue.createElementVNode)("b", null, "Show Details")], -1
var _hoisted_7 = /*#__PURE__*/(0, _vue.createElementVNode)("b", null, "Show Details", -1
/* HOISTED */
);

Expand Down Expand Up @@ -984,6 +982,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
onTableCreating: $options.doCreating,
onTableCreated: $options.doCreated
}, {
HEAD__details_control: (0, _vue.withCtx)(function () {
return [_hoisted_7];
}),
address2: (0, _vue.withCtx)(function (ctx) {
return [(0, _vue.createElementVNode)("span", null, (0, _vue.toDisplayString)(ctx.data.city) + ", " + (0, _vue.toDisplayString)(ctx.comp.formatCode(ctx.data.zipcode)), 1
/* TEXT */
Expand All @@ -994,9 +995,6 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
/* TEXT */
)];
}),
default: (0, _vue.withCtx)(function () {
return [_hoisted_7];
}),
_: 1
/* STABLE */

Expand Down
2 changes: 1 addition & 1 deletion example/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"/index.js": "/index.js?id=c5022c9d8588ede4c719"
"/index.js": "/index.js?id=22b19f8a482d28644b7f"
}

0 comments on commit a82e2e9

Please sign in to comment.