1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
export default { functional: true, props: { custom: { type: Boolean, default: true } }, render (h, { parent, props, data }) { return h(parent.$page.key, { class: [props.custom ? 'custom' : '', data.class, data.staticClass], style: data.style }) } }