sakura/src/admin/OptionItem.vue

25 lines
522 B
Vue
Raw Normal View History

2021-07-14 16:54:49 +08:00
<template>
<div class="option__container">
<h1 class="mdc-typography--headline6">{{ $props.namespace }}</h1>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import { useInjector } from '@/hooks'
import store from './store'
const defaultOption = {}
export default defineComponent({
props: {
options: { type: Object, default: () => defaultOption },
},
emits: [],
setup(props, { emit }) {
const { config, setConfig } = useInjector(store)
return {}
},
})
</script>