mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-29 19:26:44 -06:00
29 lines
518 B
Vue
29 lines
518 B
Vue
<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';
|
|
|
|
export default defineComponent({
|
|
props: {
|
|
value: {
|
|
required: true
|
|
},
|
|
hpml: {
|
|
required: true
|
|
},
|
|
page: {
|
|
required: true
|
|
},
|
|
h: {
|
|
required: true
|
|
}
|
|
},
|
|
beforeCreate() {
|
|
this.$options.components.XBlock = require('./page.block.vue').default;
|
|
},
|
|
});
|
|
</script>
|