diff --git a/src/common/constants.js b/src/common/constants.js index 6d2c22e2..992dbb3b 100644 --- a/src/common/constants.js +++ b/src/common/constants.js @@ -9,6 +9,7 @@ export default { login: '探索者协同 | 登录', index: '探索者协同 | 云建筑', + project: '探索者协同 | 项目编辑', projnotice: '探索者协同 | 更新提醒', notFound: '404 | 未找到该页面', workspace: '探索者协同 | 项目详情', diff --git a/src/router/index.js b/src/router/index.js index 175355ae..ae9a0485 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -31,6 +31,11 @@ const router = new Router({ name: 'workspace', component: reslove => require(['@/views/main_web/workspace'], reslove) }, + { + path: '/project', + name: 'project', + component: reslove => require(['@/views/main_web/project'], reslove) + }, { path: '/recycle', name: 'recycle', diff --git a/src/views/components_web/head/head.vue b/src/views/components_web/head/head.vue index d97855fd..acd34336 100644 --- a/src/views/components_web/head/head.vue +++ b/src/views/components_web/head/head.vue @@ -18,14 +18,42 @@ - + - 回到{{ currentBackTitle }} + 回到{{ currentBackTitle }} 退出项目云盘 - 退出 - 回到协作空间 - 回到云盘 - {{ user.companyName }} + 退出 + 回到协作空间 + 回到云盘 + 退出项目编辑 + {{ user.companyName }}