数据结构重构优化

This commit is contained in:
unknown
2023-08-07 10:41:57 +08:00
parent c2fb5c2243
commit 2a6e451417
14 changed files with 103 additions and 60 deletions

View File

@@ -20,10 +20,10 @@ import type { CheckboxChangeEvent } from "antd/es/checkbox";
const SystemConfigPage = () => {
const [form] = Form.useForm();
const [loading, setLoading] = useState<boolean>(false);
const [logo, setLogo] = useState<string>("");
const [thumb, setThumb] = useState<string>("");
const [avatar, setAvatar] = useState<string>("");
const [loading, setLoading] = useState(false);
const [logo, setLogo] = useState("");
const [thumb, setThumb] = useState("");
const [avatar, setAvatar] = useState("");
const [tabKey, setTabKey] = useState(1);
const [nameChecked, setNameChecked] = useState(false);
const [emailChecked, setEmailChecked] = useState(false);