From 0aecb2dec471af328046218969225fd7abf1de76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E5=BA=86=E6=98=8E?= Date: Mon, 20 Oct 2025 10:59:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=8E=A7=E5=88=B6=E5=8F=B0?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .trae/rules/project_rules.md | 13 +++++++++ .../Web/src/components/DockPanelContainer.vue | 14 ++++++++-- .../Robot/Web/src/components/LayoutManager.js | 12 +++++--- .../Web/src/components/LayoutPersistence.js | 16 +++++++---- .../Web/src/components/ResizeHandlers.js | 4 +-- .../Robot/Web/src/store/dockPanelStore.js | 28 +++++++++++++++++-- 6 files changed, 70 insertions(+), 17 deletions(-) create mode 100644 .trae/rules/project_rules.md diff --git a/.trae/rules/project_rules.md b/.trae/rules/project_rules.md new file mode 100644 index 0000000..a4b309b --- /dev/null +++ b/.trae/rules/project_rules.md @@ -0,0 +1,13 @@ +1. Android:这是安卓的库目录,包含了安卓库的代码和资源文件 +2. VUE:这是Vue的库目录,包含了Vue库的代码和资源文件 +3. AutoRobot:这是AutoRobot的项目目录 +4. AutoRobot\Android\Robot:这是AutoRobot项目的安卓端的子项目目录 +6. AutoRobot\Windows\Robot:这是AutoRobot项目的服务端的子项目目录,编译并运行:go run .\main.go +7. AutoRobot\Windows\Robot\Web:这是AutoRobot项目的客户端的子项目目录,编译:npm run build +8. 在执行git或svn操作时,需要切换代码页到 chcp 936, 执行其它命令时,请先切换回默认的代码页 chcp 65001 +9. Maven 仓库地址是 http://geek.cdjkt.com:30003/repository/maven-public,isAllowInsecureProtocol = true +10. go 仓库的地址是 http://geek.cdjkt.com:30003/repository/go-public +11. Nexus 仓库地址是:http://geek.cdjkt.com:30003,用户名:admin,密码:Access2cRte +12. 当前终端是powershell,请注意命令的格式 +13. 当文件被修改时,需要暂停执行,待我接受或者拒绝修改后,再继续执行 +14. 不要自行提交git或svn,我让提交就只提交一次 diff --git a/AutoRobot/Windows/Robot/Web/src/components/DockPanelContainer.vue b/AutoRobot/Windows/Robot/Web/src/components/DockPanelContainer.vue index c9c2a79..e366cd4 100644 --- a/AutoRobot/Windows/Robot/Web/src/components/DockPanelContainer.vue +++ b/AutoRobot/Windows/Robot/Web/src/components/DockPanelContainer.vue @@ -1,5 +1,5 @@