添加PluginDataDialog组件的show_switch属性

This commit is contained in:
jxxghp
2025-07-02 21:30:44 +08:00
parent a06cf69d7a
commit 3892b0ed05
3 changed files with 8 additions and 3 deletions

View File

@@ -10,6 +10,10 @@ const props = defineProps({
plugin: {
type: Object as PropType<Plugin>,
},
show_switch: {
type: Boolean,
default: true,
},
})
// 定义事件
@@ -130,6 +134,7 @@ onMounted(() => {
</div>
</VCardText>
<VFab
v-if="show_switch"
icon="mdi-cog"
location="bottom"
size="x-large"