From 5f717ac3b60030ffded1e38f25d1b45383b12d6a Mon Sep 17 00:00:00 2001 From: cocos02 Date: Mon, 15 Jun 2026 14:16:44 +0800 Subject: [PATCH] fix: validate JSON before applying AI result, show raw text on parse failure --- editor/components/AIPanel.vue | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/editor/components/AIPanel.vue b/editor/components/AIPanel.vue index 35a1ca2..7ec2fc4 100644 --- a/editor/components/AIPanel.vue +++ b/editor/components/AIPanel.vue @@ -1,5 +1,5 @@