diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index d8e3c61..49b6922 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -91,5 +91,6 @@ "Tips": "Tips", "Check username introduction": "Check your username, if the username is not available, you can contact the customer service to modify.", "Delete and remove file": "Delete and remove file", - "Delete App Introduce": "Delete App, when you click the delete button, the file will be deleted from the file management system." + "Delete App Introduce": "Delete App, when you click the delete button, the file will be deleted from the file management system.", + "Detect Files": "Detect Files" } \ No newline at end of file diff --git a/public/locales/zh/translation.json b/public/locales/zh/translation.json index 5649116..fb7a1b0 100644 --- a/public/locales/zh/translation.json +++ b/public/locales/zh/translation.json @@ -91,5 +91,6 @@ "Tips": "提示", "Check username introduction": "查看是否可以取名,如果当前用户名已存在,请更换其他用户名。其中用户名以@开头", "Delete and remove file": "删除并删除文件", - "Delete App Introduce": "删除应用, 当点击同时删除文件,会把文件管理中,应用相关的存储的资源同步删除。" + "Delete App Introduce": "删除应用, 当点击同时删除文件,会把文件管理中,应用相关的存储的资源同步删除。", + "Detect Files": "检测文件" } \ No newline at end of file diff --git a/src/pages/app/edit/AppVersionList.tsx b/src/pages/app/edit/AppVersionList.tsx index 9151f87..f38261a 100644 --- a/src/pages/app/edit/AppVersionList.tsx +++ b/src/pages/app/edit/AppVersionList.tsx @@ -22,6 +22,7 @@ import { useForm, Controller } from 'react-hook-form'; import { TextField } from '@mui/material'; import { pick } from 'lodash-es'; import { useAppDeleteModalStore, AppDeleteModal } from '../modules/AppDeleteModal'; +import { toast } from 'react-toastify'; const FormModal = () => { const { t } = useTranslation(); @@ -159,7 +160,6 @@ export const AppVersionList = () => { const isPublish = item.version === appVersion; const color = isPublish ? 'bg-green-500' : ''; const isRunning = item.status === 'running'; - console.log('appVersion', item, appVersion, versionStore.app); return (