mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-06-06 08:10:21 +08:00
feat:支持查看插件更新记录
This commit is contained in:
22
src/components/misc/VersionHistory.vue
Normal file
22
src/components/misc/VersionHistory.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<script lang="ts" setup>
|
||||
import { PropType } from 'vue';
|
||||
|
||||
// 输入参数
|
||||
const props = defineProps({
|
||||
history: Object as PropType<{ [key: string]: string }>,
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VCardItem>
|
||||
<VList>
|
||||
<VListItem
|
||||
v-for="(value, key) in props.history"
|
||||
:key="key"
|
||||
>
|
||||
<VListItemTitle>{{ key }}</VListItemTitle>
|
||||
<VListItemSubtitle>{{ value }}</VListItemSubtitle>
|
||||
</VListItem>
|
||||
</VList>
|
||||
</VCardItem>
|
||||
</template>
|
||||
Reference in New Issue
Block a user