feat:支持查看插件更新记录

This commit is contained in:
jxxghp
2024-04-10 16:45:17 +08:00
parent 77ab0ccae2
commit 62ddd703f1
3 changed files with 59 additions and 1 deletions

View 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>