first commit

This commit is contained in:
编码猿
2024-09-27 00:58:46 +08:00
commit 92916abf8f
156 changed files with 19331 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<route-meta>
{
"isLogin": false,
"title": "用户中心首页"
}
</route-meta>
<template lang="pug">
.user-info
h1 {{ title }}
</template>
<script lang="ts">
import { toRefs, Ref, ref, reactive, createComponent, PropOptions, onMounted, SetupContext } from '@vue/composition-api'
import { UnwrapRef } from '@vue/composition-api/dist/reactivity'
export default createComponent({
props: {},
setup(props: PropOptions, ctx: SetupContext) {
const state: UnwrapRef<{
title: Ref<string>
}> = reactive({
title: ref('用户index页面')
})
return {
...toRefs(state)
}
}
})
</script>
<style lang="less" scoped>
</style>