first commit
This commit is contained in:
21
dbui/examples/page/About.vue
Normal file
21
dbui/examples/page/About.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<div class="home">
|
||||
<h2>{{ title }}</h2>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { onMounted, toRefs, reactive, computed } from '@vue/composition-api'
|
||||
|
||||
export default {
|
||||
setup(props: any) {
|
||||
const state = reactive({
|
||||
title: '关于我'
|
||||
});
|
||||
|
||||
return {
|
||||
...toRefs(state)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user