mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 00:36:41 +08:00
在插件安装成功后,清空过滤条件以确保数据刷新时的准确性
This commit is contained in:
@@ -577,7 +577,10 @@ async function installPlugin(item: Plugin) {
|
|||||||
|
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
$toast.success(t('plugin.installSuccess', { name: item?.plugin_name }))
|
$toast.success(t('plugin.installSuccess', { name: item?.plugin_name }))
|
||||||
|
// 清空过滤条件
|
||||||
|
hasUpdateFilter.value = false
|
||||||
|
enabledFilter.value = false
|
||||||
|
installedFilter.value = null
|
||||||
// 刷新
|
// 刷新
|
||||||
refreshData()
|
refreshData()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user