File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33Lion 是 RDP/VNC 远程桌面 connector,结构与 koko 对齐:
44
5- - ` views/ ` — 独立页面( ` /lion/connect ` 、 ` /lion /share/:id` 、 ` / lion/monitor ` )
5+ - ` views/ ` — 连接、监控与分享视图;分享入口统一为 ` /luna /share/:id/?component= lion`
66- ` workspaces/ ` — 内嵌到 Luna workspace 的 session surface
77- ` shared/connectors/capabilities.ts ` — 声明 ` web_rdp_native ` 连接方式
88- ` shared/connectors/registry.ts ` — 解析到 ` RemoteSessionSurface.vue `
99
10- 开发代理见根目录 ` nuxt.config.ts ` :Lion 的 API、Token、Health 和 WebSocket 路径默认转发到 Koko(` JMS_KOKO_DEV_URL ` ,默认 ` localhost:5050 ` )。` JMS_LION_DEV_URL ` 仅作为兼容覆盖保留。页面路径由 Client 自己渲染,不转发给 Koko;API/WS 固定走站点根路径 ` /koko/lion/* ` (不带 ` / luna` 前缀) 。
10+ 开发代理见根目录 ` nuxt.config.ts ` :Lion 的 API、Token、Health 和 WebSocket 路径默认转发到 Koko(` JMS_KOKO_DEV_URL ` ,默认 ` localhost:5050 ` )。` JMS_LION_DEV_URL ` 仅作为兼容覆盖保留。页面路径由 Client 自己渲染,不转发给 Koko;Lion 独有的 API/WS 使用 ` /koko/lion/* ` ,分享和监控的 WebSocket 分别使用 ` /koko/ws/share/ ` 、 ` /koko/ws/monitor/ ` ,均不带 ` / luna` 前缀。
Original file line number Diff line number Diff line change 11<script lang="ts" setup>
2- import type { Composer } from " vue-i18n" ;
32import { useI18n } from " vue-i18n" ;
43import { removeShareUser } from " @/lion/api" ;
54import CardContainer from " @/lion/components/CardContainer/index.vue" ;
6- import CreateLink from " @/lion/components/SessionShare/widget/CreateLink.vue" ;
75import UserItem from " @/lion/components/SessionShare/widget/UserItem.vue" ;
86import { createLionConnectTicket } from " @/lion/hooks/useLionConnectTicket" ;
97
10- export type TranslateFunction = Composer [" t" ];
11-
128const props = defineProps <{
13- session: string ;
149 users? : Array <{
1510 user_id: string ;
1611 user: string ;
1712 primary: boolean ;
1813 writable: boolean ;
1914 }>;
20- disableCreate? : boolean ;
2115 endpointUrl? : string ;
2216 tokenId? : string ;
2317 ticket? : string ;
@@ -71,15 +65,5 @@ const handleRemoveShareUser = async (user: any) => {
7165 />
7266 </div >
7367 </CardContainer >
74-
75- <CardContainer :title =" t (' ShareLink' )" >
76- <CreateLink
77- :session =" session "
78- :disabled-create-link =" props .disableCreate "
79- :endpoint-url =" props .endpointUrl "
80- :token-id =" props .tokenId "
81- :ticket =" props .ticket "
82- />
83- </CardContainer >
8468 </div >
8569</template >
You can’t perform that action at this time.
0 commit comments