diff --git a/src/App.vue b/src/App.vue index 1e7c8ee..af942bd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,11 +1,5 @@ + + + + + + account + 用户中心 + + + 名称 + {{ currentUser.name }} + + + 邮箱 + {{ currentUser.email || "-" }} + + + 角色 + {{ currentUser.role }} + + + + 退出 CMS 登录 + + + + + github + GitHub 绑定 + + + + {{ githubUser.name || githubUser.login }} + @{{ githubUser.login }} + + 解绑 + + + 绑定 GitHub 后,可以读取仓库列表、选择站点仓库并提交内容变更。 + + 绑定 GitHub + + + + + + diff --git a/src/components/AppSidebar.vue b/src/components/AppSidebar.vue index 0da8b35..b8c6bf8 100644 --- a/src/components/AppSidebar.vue +++ b/src/components/AppSidebar.vue @@ -1,8 +1,9 @@
account
github
绑定 GitHub 后,可以读取仓库列表、选择站点仓库并提交内容变更。