diff --git a/src/renderer/src/i18n/locales/en-us.json b/src/renderer/src/i18n/locales/en-us.json
index 9b259e164c..a627ce3725 100644
--- a/src/renderer/src/i18n/locales/en-us.json
+++ b/src/renderer/src/i18n/locales/en-us.json
@@ -413,6 +413,7 @@
"save": "Save",
"settings": "Settings",
"search": "Search",
+ "swap": "Swap",
"select": "Select",
"selectedMessages": "Selected {{count}} messages",
"selectedItems": "Selected {{count}} items",
diff --git a/src/renderer/src/i18n/locales/ja-jp.json b/src/renderer/src/i18n/locales/ja-jp.json
index 5eefc65aff..46959d3ccd 100644
--- a/src/renderer/src/i18n/locales/ja-jp.json
+++ b/src/renderer/src/i18n/locales/ja-jp.json
@@ -410,6 +410,7 @@
"refresh": "更新",
"rename": "名前を変更",
"reset": "リセット",
+ "swap": "交換",
"save": "保存",
"settings": "設定",
"search": "検索",
diff --git a/src/renderer/src/i18n/locales/ru-ru.json b/src/renderer/src/i18n/locales/ru-ru.json
index 0c5397e594..8cb7c3bc98 100644
--- a/src/renderer/src/i18n/locales/ru-ru.json
+++ b/src/renderer/src/i18n/locales/ru-ru.json
@@ -410,6 +410,7 @@
"refresh": "Обновить",
"rename": "Переименовать",
"reset": "Сбросить",
+ "swap": "Поменять местами",
"save": "Сохранить",
"settings": "Настройки",
"search": "Поиск",
diff --git a/src/renderer/src/i18n/locales/zh-cn.json b/src/renderer/src/i18n/locales/zh-cn.json
index b4824bcb9b..82c16170ee 100644
--- a/src/renderer/src/i18n/locales/zh-cn.json
+++ b/src/renderer/src/i18n/locales/zh-cn.json
@@ -410,6 +410,7 @@
"refresh": "刷新",
"rename": "重命名",
"reset": "重置",
+ "swap": "交换",
"save": "保存",
"settings": "设置",
"search": "搜索",
diff --git a/src/renderer/src/i18n/locales/zh-tw.json b/src/renderer/src/i18n/locales/zh-tw.json
index 71dd2b27d5..0b5f272148 100644
--- a/src/renderer/src/i18n/locales/zh-tw.json
+++ b/src/renderer/src/i18n/locales/zh-tw.json
@@ -410,6 +410,7 @@
"refresh": "重新整理",
"rename": "重新命名",
"reset": "重設",
+ "swap": "交換",
"save": "儲存",
"settings": "設定",
"search": "搜尋",
diff --git a/src/renderer/src/pages/apps/MiniappSettings/MiniAppSettings.tsx b/src/renderer/src/pages/apps/MiniappSettings/MiniAppSettings.tsx
index 30d0496ffd..e322f4fd9b 100644
--- a/src/renderer/src/pages/apps/MiniappSettings/MiniAppSettings.tsx
+++ b/src/renderer/src/pages/apps/MiniappSettings/MiniAppSettings.tsx
@@ -39,6 +39,12 @@ const MiniAppSettings: FC = () => {
updateDisabledMinapps([])
}, [updateDisabledMinapps, updateMinapps])
+ const handleSwapMinApps = useCallback(() => {
+ const temp = visibleMiniApps
+ setVisibleMiniApps(disabledMiniApps)
+ setDisabledMiniApps(temp)
+ }, [disabledMiniApps, visibleMiniApps])
+
// 恢复默认缓存数量
const handleResetCacheLimit = useCallback(() => {
dispatch(setMaxKeepAliveMinapps(DEFAULT_MAX_KEEPALIVE))
@@ -77,9 +83,10 @@ const MiniAppSettings: FC = () => {
{t('settings.miniapps.display_title')}
-
+
+
-
+