diff --git a/src/modules/system/plugins/components/PluginListItem.vue b/src/modules/system/plugins/components/PluginListItem.vue index 6f2a7c7a..2522ecc3 100644 --- a/src/modules/system/plugins/components/PluginListItem.vue +++ b/src/modules/system/plugins/components/PluginListItem.vue @@ -132,12 +132,31 @@ const onUpgradeModalClose = () => { > 升级 - - 卸载 - - - 卸载并删除配置 - + + 卸载 + + + + + 卸载 + + + 卸载并删除配置 + + + + + diff --git a/src/modules/system/plugins/composables/use-plugin.ts b/src/modules/system/plugins/composables/use-plugin.ts index ba5316d0..9f1325df 100644 --- a/src/modules/system/plugins/composables/use-plugin.ts +++ b/src/modules/system/plugins/composables/use-plugin.ts @@ -55,7 +55,9 @@ export function usePluginLifeCycle( : "确定要卸载该插件吗?" }`, description: `${ - enabled ? "当前插件还在启用状态,将在停止运行后卸载。" : "" + enabled + ? "当前插件还在启用状态,将在停止运行后卸载,该操作不可恢复。" + : "该操作不可恢复。" }`, confirmType: "danger", confirmText: `${enabled ? "停止运行并卸载" : "卸载"}`,