35 lines
589 B
Vue
35 lines
589 B
Vue
<script>
|
|
export default {
|
|
name: 'uiModulePreviewInner',
|
|
|
|
props: {
|
|
value: {
|
|
type: Object,
|
|
default: () => { }
|
|
},
|
|
template: {
|
|
type: String,
|
|
required: true
|
|
}
|
|
},
|
|
|
|
render: function (h)
|
|
{
|
|
return h(
|
|
{
|
|
template: '<div class="ui-module-preview-inner">' + this.template + '</div>',
|
|
props: {
|
|
model: {
|
|
type: Object,
|
|
default: () => { }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
props: {
|
|
model: this.value
|
|
}
|
|
});
|
|
},
|
|
}
|
|
</script> |