fix(auth): 重构登录认证,并支持跳转到关联服务如图纸标注
This commit is contained in:
1 parent
ce1fd59f61
commit
affe139bf9
51 files changed
+1939
-132
No files matched your search
@@ -1,7 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
/**
|
||||
* features/workspace/components/WorkspaceSidebar.vue
|
||||
* 工作台左侧导航:子路由链接、第三方系统、返回聊天与退出登录。
|
||||
* 工作台左侧导航:子路由链接、关联服务入口、返回聊天与退出登录。
|
||||
* 依赖:WORKSPACE_PATHS、workspace.context、ExternalSystemLinks。
|
||||
* 逻辑:底部关联服务复用 ws-nav-btn,与返回聊天/退出登录对齐。
|
||||
*/
|
||||
import { inject } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
@@ -107,7 +109,12 @@ function isActive(match: readonly string[]) {
|
||||
|
||||
<div class="border-t border-subtle pt-4">
|
||||
<div class="space-y-2">
|
||||
<ExternalSystemLinks :compact="Boolean(collapsed)" :show-label="!collapsed" />
|
||||
<ExternalSystemLinks
|
||||
:compact="Boolean(collapsed)"
|
||||
:show-label="!collapsed"
|
||||
:button-class="collapsed ? 'ws-nav-btn justify-center px-0' : 'ws-nav-btn'"
|
||||
icon-class="h-[18px] w-[18px] shrink-0"
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
@click="ws.navigateToGeneralChat"
|
||||
|
||||
Reference in new issue
Block a user