From 6a4193867158eb5ec60c0947c59137af90f245a8 Mon Sep 17 00:00:00 2001 From: mediabot-pt <295750538+mediabot-pt@users.noreply.github.com> Date: Mon, 6 Jul 2026 17:51:46 +0800 Subject: [PATCH] fix: restore left JSON editor + right card layout for risk rules editor - Left pane: fixed 400px CodeEditor for JSON editing - Right pane: card-based visual editor with natural language, drag-and-drop, presets - Remove JSON toggle button, always show both panes --- web/src/views/RiskRules.vue | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/web/src/views/RiskRules.vue b/web/src/views/RiskRules.vue index 47df22d..866d70f 100644 --- a/web/src/views/RiskRules.vue +++ b/web/src/views/RiskRules.vue @@ -35,10 +35,6 @@ {{ parsed.length }} 条规则
- - - {{ showJson ? '收起' : 'JSON' }} - 模板 保存 上传 @@ -46,10 +42,18 @@
- +
- -
+ +
+
JSON 配置
+
+ +
+
+ + +
@@ -124,14 +128,6 @@
- - -
-
JSON 配置
-
- -
-
@@ -156,7 +152,7 @@