fix(frontend): 修复文件管理器右键子菜单关闭竞态

移除文件管理器右键菜单在捕获阶段注册的全局点击关闭监听
将关闭职责统一收敛到组件层 click-outside 处理

避免终端、上传、压缩等子菜单在展开或点击前被提前关闭
同时同步更新相关知识库记录与中英文 README 链接
This commit is contained in:
yinjianm
2026-03-26 05:56:00 +08:00
parent cda7e0a018
commit 26acdba7e8
10 changed files with 144 additions and 35 deletions
+8 -12
View File
@@ -3,7 +3,7 @@
<div align="center">
[![Docker](https://img.shields.io/badge/-Docker-2496ED?style=flat-square&logo=docker&logoColor=white)][docker-url] [![License: GPL-3.0](https://img.shields.io/badge/License-GPL%203.0-4CAF50?style=flat-square)](https://github.com/Heavrnl/nexus-terminal/blob/main/LICENSE)
[![Docker](https://img.shields.io/badge/-Docker-2496ED?style=flat-square&logo=docker&logoColor=white)][docker-url] [![License: GPL-3.0](https://img.shields.io/badge/License-GPL%203.0-4CAF50?style=flat-square)](https://github.com/Micah123321/nexus-terminal/blob/main/LICENSE)
<br>
[中文](./README.md) | [English](./doc/README_EN.md)
@@ -16,6 +16,9 @@
**星枢终端(Nexus Terminal** 是一款现代化、功能丰富的 Web SSH / RDP / VNC 客户端,致力于提供高度可定制的远程连接体验。提供独立的本地桌面端。
当前维护仓库:[`Micah123321/nexus-terminal`](https://github.com/Micah123321/nexus-terminal)
源项目:[`Heavrnl/nexus-terminal`](https://github.com/Heavrnl/nexus-terminal)
## 🧱 项目结构
本仓库采用 `npm workspaces` 的 monorepo 结构:
@@ -69,7 +72,7 @@
> 移除了web端的特有功能,如各种登录验证,会话挂起等功能
https://github.com/Heavrnl/nexus-terminal/releases/latest
https://github.com/Micah123321/nexus-terminal/releases/latest
## 🚀 快速开始
@@ -83,9 +86,9 @@ mkdir ./nexus-terminal && cd ./nexus-terminal
```
下载仓库中的 [**docker-compose.yml**](https://raw.githubusercontent.com/Heavrnl/nexus-terminal/refs/heads/main/docker-compose.yml) 和 [**.env**](https://raw.githubusercontent.com/Heavrnl/nexus-terminal/refs/heads/main/.env) 文件到当前目录。
下载仓库中的 [**docker-compose.yml**](https://raw.githubusercontent.com/Micah123321/nexus-terminal/refs/heads/main/docker-compose.yml) 和 [**.env**](https://raw.githubusercontent.com/Micah123321/nexus-terminal/refs/heads/main/.env) 文件到当前目录。
```bash
wget https://raw.githubusercontent.com/Heavrnl/nexus-terminal/refs/heads/main/docker-compose.yml -O docker-compose.yml && wget https://raw.githubusercontent.com/Heavrnl/nexus-terminal/refs/heads/main/.env -O .env
wget https://raw.githubusercontent.com/Micah123321/nexus-terminal/refs/heads/main/docker-compose.yml -O docker-compose.yml && wget https://raw.githubusercontent.com/Micah123321/nexus-terminal/refs/heads/main/.env -O .env
```
> ⚠️ **注意:**
>
@@ -192,7 +195,7 @@ docker compose up -d
1. **双文件管理器**:可以在布局中添加两个文件管理器组件(实验性功能,可能存在不稳定情况)。
2. **多文本编辑器**:在同一布局中添加多个文本编辑器的功能尚未实现。
3. ARMv7 用户请使用此处的 [docker-compose.yml](https://github.com/Heavrnl/nexus-terminal/blob/main/doc/arm/docker-compose.yml)。由于 Apache Guacamole 未提供 guacd 的 ARMv7 架构镜像,所以禁用 RDP 功能,相关镜像暂时不再拉取。
3. ARMv7 用户请使用此处的 [docker-compose.yml](https://github.com/Micah123321/nexus-terminal/blob/main/doc/arm/docker-compose.yml)。由于 Apache Guacamole 未提供 guacd 的 ARMv7 架构镜像,所以禁用 RDP 功能,相关镜像暂时不再拉取。
4. 关于数据备份,请自行备份目录下的 data 文件夹,本项目不提供相关备份功能。
5. 由于浏览器限制,非https或者localhost无法复制终端内容,请使用https访问
@@ -219,13 +222,6 @@ npm run build --workspace=@nexus-terminal/remote-gateway
* 预设主题方案来源于优秀的 [iTerm2-Color-Schemes](https://github.com/mbadolato/iTerm2-Color-Schemes) 项目。
## ☕ 捐赠
如果你觉得这个项目对你有帮助,欢迎通过以下方式请我喝杯咖啡:
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/0heavrnl)
## 📄 开源协议
本项目采用 [GPL-3.0](LICENSE) 开源协议,详细信息请参阅 [LICENSE](LICENSE) 文件。