mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-15 05:53:08 +02:00
bd8d7c3d0f
* ページをピン留めできるように * デッキでカラム内でページを見れるように
30 lines
506 B
Vue
30 lines
506 B
Vue
<template>
|
|
<div v-show="script.vars[value.var]">
|
|
<x-block v-for="child in value.children" :value="child" :page="page" :script="script" :key="child.id" :h="h"/>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Vue from 'vue';
|
|
|
|
export default Vue.extend({
|
|
props: {
|
|
value: {
|
|
required: true
|
|
},
|
|
script: {
|
|
required: true
|
|
},
|
|
page: {
|
|
required: true
|
|
},
|
|
h: {
|
|
required: true
|
|
}
|
|
},
|
|
|
|
beforeCreate() {
|
|
this.$options.components.XBlock = require('./page.block.vue').default
|
|
},
|
|
});
|
|
</script>
|