mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-07 00:36:41 +08:00
fix: 调整插件更新说明菜单行为
This commit is contained in:
@@ -102,10 +102,10 @@ async function imageLoaded() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 显示更新日志
|
// 显示更新日志
|
||||||
function showUpdateHistory() {
|
function showUpdateHistory(showUpdateAction: boolean = false) {
|
||||||
openSharedDialog(
|
openSharedDialog(
|
||||||
PluginVersionHistoryDialog,
|
PluginVersionHistoryDialog,
|
||||||
{ plugin: props.plugin, showUpdateAction: true },
|
{ plugin: props.plugin, showUpdateAction },
|
||||||
{ update: updatePlugin },
|
{ update: updatePlugin },
|
||||||
{ closeOn: ['close', 'update', 'update:modelValue'] },
|
{ closeOn: ['close', 'update', 'update:modelValue'] },
|
||||||
)
|
)
|
||||||
@@ -371,7 +371,7 @@ const dropdownItems = ref([
|
|||||||
props: {
|
props: {
|
||||||
prependIcon: 'mdi-arrow-up-circle-outline',
|
prependIcon: 'mdi-arrow-up-circle-outline',
|
||||||
color: 'success',
|
color: 'success',
|
||||||
click: updatePlugin,
|
click: () => showUpdateHistory(true),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -380,7 +380,7 @@ const dropdownItems = ref([
|
|||||||
show: !props.plugin?.has_update,
|
show: !props.plugin?.has_update,
|
||||||
props: {
|
props: {
|
||||||
prependIcon: 'mdi-update',
|
prependIcon: 'mdi-update',
|
||||||
click: showUpdateHistory,
|
click: () => showUpdateHistory(false),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user