feat: 统一卫星和线缆锁定逻辑,使用lockedObject系统

- 添加lockedObject和lockedObjectType统一管理锁定状态
- 点击任一对象自动清除之前的锁定
- 修复悬停/锁定优先级逻辑
- 修复坐标映射worldToLocal问题
- 添加bun.lock用于bun包管理
This commit is contained in:
rayd1o
2026-03-18 10:20:23 +08:00
parent c82e1d5a04
commit 3b0e9dec5a
3 changed files with 625 additions and 109 deletions

View File

@@ -8,12 +8,12 @@ export default defineConfig({
port: 3000,
proxy: {
'/api': {
target: 'http://backend:8000',
target: 'http://localhost:8000',
changeOrigin: true,
secure: false,
},
'/ws': {
target: 'ws://backend:8000',
target: 'ws://localhost:8000',
ws: true,
changeOrigin: true,
secure: false,