diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 695fb76..a7a7c8b 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -70,5 +70,6 @@ "usernames": "Usernames", "content-type": "Content Type", "app-source": "App Source", - "app-version": "App Version" + "app-version": "App Version", + "Detect": "Detect" } \ No newline at end of file diff --git a/public/locales/zh/translation.json b/public/locales/zh/translation.json index 52df8ae..905f6ae 100644 --- a/public/locales/zh/translation.json +++ b/public/locales/zh/translation.json @@ -70,5 +70,6 @@ "usernames": "用户名", "content-type": "内容类型", "app-source": "应用来源", - "app-version": "应用版本" + "app-version": "应用版本", + "Detect": "检测" } \ No newline at end of file diff --git a/src/modules/layout/Menu.tsx b/src/modules/layout/Menu.tsx index 5c3cd09..0b70a6a 100644 --- a/src/modules/layout/Menu.tsx +++ b/src/modules/layout/Menu.tsx @@ -36,11 +36,6 @@ export const LayoutMenu = () => { icon: , link: '/container/edit/list', }, - { - title: t('Org'), - icon: , - link: '/org/edit/list', - }, { title: t('Config'), icon: , link: '/config/edit/list' }, { title: t('About'), diff --git a/src/pages/config/edit/List.tsx b/src/pages/config/edit/List.tsx index 139d821..a5243ca 100644 --- a/src/pages/config/edit/List.tsx +++ b/src/pages/config/edit/List.tsx @@ -188,7 +188,7 @@ export const MyController = React.forwardRef( }, ); export const List = () => { - const { list, getConfig, setShowEdit, setFormData, deleteConfig, updateData, formData } = useConfigStore(); + const { list, getConfig, setShowEdit, setFormData, deleteConfig, updateData, formData, detectConfig } = useConfigStore(); const [modal, contextHolder] = useModal(); useEffect(() => { getConfig(); @@ -221,8 +221,22 @@ export const List = () => { +
-
+
+ + + +
+
{list.map((item) => (
@@ -237,7 +251,7 @@ export const List = () => {
{item.key}
-
+