初版代码提交
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2>控制台</h2>
|
||||
<p>欢迎,{{ userStore.userInfo?.nickname }}</p>
|
||||
<el-row :gutter="20" style="margin-top: 20px;">
|
||||
<el-col :span="8">
|
||||
<el-card><el-statistic title="我的文章" :value="0" /></el-card>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-card><el-statistic title="总浏览量" :value="0" /></el-card>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-card><el-statistic title="获赞数" :value="0" /></el-card>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { useUserStore } from '@/stores/user'
|
||||
const userStore = useUserStore()
|
||||
</script>
|
||||
Reference in New Issue
Block a user