添加了个人中心界面的母版页,统一了个人中心界面风格
This commit is contained in:
@@ -29,7 +29,7 @@ import {
|
||||
import { getUserProfile, updateUserProfile } from "@/apis/user";
|
||||
import { useUserStore } from "@/stores/UserStore";
|
||||
import type { UserInfo } from "@/types/user";
|
||||
import MainLayout from "@/layouts/MainLayout.vue";
|
||||
import UserLayout from "@/layouts/UserLayout.vue";
|
||||
|
||||
// 用户信息
|
||||
const userInfo = ref<UserInfo | null>(null);
|
||||
@@ -247,7 +247,7 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<MainLayout>
|
||||
<UserLayout>
|
||||
<div class="profile-page">
|
||||
<div class="container mx-auto px-4 py-8">
|
||||
<el-card class="profile-card">
|
||||
@@ -435,7 +435,7 @@ onMounted(() => {
|
||||
</span>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</MainLayout>
|
||||
</UserLayout>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user