mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
fix(PluginCard): improve reset plugin configuration and data prompt
This commit is contained in:
@@ -220,7 +220,7 @@ const iconPath: Ref<string> = computed(() => {
|
|||||||
async function resetPlugin() {
|
async function resetPlugin() {
|
||||||
const isConfirmed = await createConfirm({
|
const isConfirmed = await createConfirm({
|
||||||
title: '确认',
|
title: '确认',
|
||||||
content: `是否确认重置插件 ${props.plugin?.plugin_name} 的配置数据?`,
|
content: `此操作将恢复插件 ${props.plugin?.plugin_name} 的默认设置,并清除所有相关数据,确定要继续吗?`,
|
||||||
})
|
})
|
||||||
|
|
||||||
if (!isConfirmed) return
|
if (!isConfirmed) return
|
||||||
|
|||||||
Reference in New Issue
Block a user