From b951e29c00bf5f6104fc08df65722af881d814b4 Mon Sep 17 00:00:00 2001 From: cnbugs Date: Sun, 19 Jul 2026 16:25:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20schema=20=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E6=97=B6=20generator=20=E8=A2=AB=E6=97=A7=20config=20?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E5=AF=BC=E8=87=B4=E7=99=BD=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因: activeSchemaId 变化后,ConfigForm 还没 emit 新默认值,generator 就用旧 config 执行了 修复: 在 App.vue 中 watch activeSchemaId,切换时立即用新 schema 默认值重置 config 同时修复 bind.js 中 forwarders.split() 的防御性空值处理 --- src/App.vue | 7 ++++++- src/main.js | 5 +++++ src/schemas/bind.js | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 64536ec..2280ff5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -15,7 +15,7 @@