feat: 用户设置页面
This commit is contained in:
@@ -1,41 +1,48 @@
|
||||
/** @format */
|
||||
|
||||
import { SmileFilled } from "@ant-design/icons";
|
||||
import dashboard from "@/assets/icons/dashboard.svg";
|
||||
import bucket from "@/assets/icons/bucket.svg";
|
||||
import file from "@/assets/icons/file.svg";
|
||||
import share from "@/assets/icons/share.svg";
|
||||
import user from "@/assets/icons/user.svg";
|
||||
import userInfo from "@/assets/icons/userInfo.svg";
|
||||
|
||||
export default {
|
||||
route: {
|
||||
path: "/",
|
||||
routes: [
|
||||
{
|
||||
index: true,
|
||||
path: "main/home",
|
||||
name: "仪表盘",
|
||||
icon: <SmileFilled />,
|
||||
icon: dashboard,
|
||||
},
|
||||
{
|
||||
path: "main/bucket",
|
||||
name: "存储桶",
|
||||
icon: <SmileFilled />,
|
||||
icon: bucket,
|
||||
},
|
||||
{
|
||||
path: "main/file",
|
||||
name: "文件管理",
|
||||
icon: <SmileFilled />,
|
||||
name: "我的文件",
|
||||
icon: file,
|
||||
},
|
||||
{
|
||||
path: "main/share",
|
||||
name: "分享圈",
|
||||
icon: <SmileFilled />,
|
||||
icon: share,
|
||||
},
|
||||
{
|
||||
path: "/",
|
||||
name: "个人中心",
|
||||
icon: <SmileFilled />,
|
||||
icon: user,
|
||||
routes: [
|
||||
{
|
||||
index: true,
|
||||
path: "main/user/info",
|
||||
name: "用户信息",
|
||||
icon: <SmileFilled />,
|
||||
icon: userInfo,
|
||||
},
|
||||
{
|
||||
path: "main/user/setting",
|
||||
|
Reference in New Issue
Block a user