{
const [domains, setDomains] = useState([]);
@@ -36,7 +36,7 @@ const Page = () => {
return (
<>
-
+
Domain
状态
@@ -65,10 +65,10 @@ const Page = () => {
}
-
+
>
)
}
-export default Page;
\ No newline at end of file
+export default Page;
diff --git a/tcc-transaction-admin-web/src/pages/agg/Normal.js b/tcc-transaction-admin-web/src/pages/agg/Normal.js
index 28594b21..7fb8ae8f 100644
--- a/tcc-transaction-admin-web/src/pages/agg/Normal.js
+++ b/tcc-transaction-admin-web/src/pages/agg/Normal.js
@@ -1,5 +1,5 @@
-import React, { useEffect, useState } from 'react';
-import { Table, Button, Cascader, Modal, message, Form } from 'antd';
+import {useEffect, useState} from 'react';
+import {Button, Cascader, Form, message, Modal, Table} from 'antd';
import ReactJson from 'react-json-view';
import * as api from '../../api/agg';
import CreateModal from './modal';
@@ -202,4 +202,4 @@ const Normal = () => {
);
}
-export default Normal;
\ No newline at end of file
+export default Normal;
diff --git a/tcc-transaction-admin-web/src/pages/agg/index.js b/tcc-transaction-admin-web/src/pages/agg/index.js
index 235864ac..3816966b 100644
--- a/tcc-transaction-admin-web/src/pages/agg/index.js
+++ b/tcc-transaction-admin-web/src/pages/agg/index.js
@@ -1,6 +1,5 @@
-import React from 'react';
-import { Layout, Menu } from 'antd';
-import { Switch, Route, Link } from 'react-router-dom';
+import {Layout, Menu} from 'antd';
+import {Link, Route, Switch} from 'react-router-dom';
import Normal from './Normal';
import Degrade from './Degrade';
@@ -31,4 +30,4 @@ const Page = () => (
)
-export default Page;
\ No newline at end of file
+export default Page;
diff --git a/tcc-transaction-admin-web/src/pages/agg/modal.js b/tcc-transaction-admin-web/src/pages/agg/modal.js
index 65e8e406..51121660 100644
--- a/tcc-transaction-admin-web/src/pages/agg/modal.js
+++ b/tcc-transaction-admin-web/src/pages/agg/modal.js
@@ -1,5 +1,5 @@
import React from "react";
-import { Form, Input, message, Modal } from "antd";
+import {Form, Input, message, Modal} from "antd";
import * as api from "../../api/agg";
diff --git a/tcc-transaction-admin-web/src/pages/tcc/Degrade.js b/tcc-transaction-admin-web/src/pages/tcc/Degrade.js
index d6aaff0c..987a1bca 100644
--- a/tcc-transaction-admin-web/src/pages/tcc/Degrade.js
+++ b/tcc-transaction-admin-web/src/pages/tcc/Degrade.js
@@ -1,6 +1,6 @@
-import React, { useState, useEffect } from 'react';
-import { Switch, Row, Col, Divider } from 'antd';
-import { getDegradeList, degrade } from '../../common/api';
+import {useEffect, useState} from 'react';
+import {Col, Divider, Row, Switch} from 'antd';
+import {degrade, getDegradeList} from '../../common/api';
const Page = () => {
const [domains, setDomains] = useState([]);
@@ -64,10 +64,10 @@ const Page = () => {
}