<template>
<div v-show="hpml.vars[value.var]">
<XBlock v-for="child in value.children" :value="child" :page="page" :hpml="hpml" :key="child.id" :h="h"/>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import * as os from '@/os';
export default defineComponent({
props: {
value: {
required: true
},
hpml: {
page: {
h: {
}
beforeCreate() {
this.$options.components.XBlock = require('./page.block.vue').default;
});
</script>