refactor: 移除aaa.tsx并引入Rule组件

This commit is contained in:
NanGua-QWQ
2026-03-27 21:56:41 +08:00
parent 41f05c134e
commit 508a2c00c2
2 changed files with 3 additions and 107 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import { useState, useEffect } from "react"
import { HolderOutlined } from "@ant-design/icons"
import { useTranslation } from "react-i18next"
import DemoQueryBuilder from "./autoScore/aaa"
import Rule from "./autoScore/Rule"
import {
Card,
Form,
@@ -426,8 +426,8 @@ export const AutoScoreManager: React.FC = () => {
</Form>
</Card>
<DemoQueryBuilder />
<Rule />
<div style={{ marginBottom: "24px", display: "flex", gap: "12px" }}>
<Button type="primary" onClick={handleSubmit}>
{editingRuleId !== null ? t("autoScore.updateAutomation") : t("autoScore.addAutomation")}