fix versions ui

This commit is contained in:
jxxghp
2024-05-09 18:39:44 +08:00
parent d857acc58e
commit 201411841c
3 changed files with 8 additions and 11 deletions
+1 -2
View File
@@ -213,9 +213,8 @@ const dropdownItems = ref([
<ProgressDialog v-if="progressDialog" v-model="progressDialog" :text="progressText" /> <ProgressDialog v-if="progressDialog" v-model="progressDialog" :text="progressText" />
<!-- 更新日志 --> <!-- 更新日志 -->
<VDialog v-if="releaseDialog" v-model="releaseDialog" width="600" scrollable> <VDialog v-if="releaseDialog" v-model="releaseDialog" width="600" scrollable>
<VCard> <VCard :title="`${props.plugin?.plugin_name} 更新说明`">
<DialogCloseBtn @click="releaseDialog = false" /> <DialogCloseBtn @click="releaseDialog = false" />
<VCardTitle>{{ props.plugin?.plugin_name }} 更新说明</VCardTitle>
<VersionHistory :history="props.plugin?.history" /> <VersionHistory :history="props.plugin?.history" />
</VCard> </VCard>
</VDialog> </VDialog>
+1 -2
View File
@@ -467,9 +467,8 @@ watch(
<!-- 更新日志 --> <!-- 更新日志 -->
<VDialog v-if="releaseDialog" v-model="releaseDialog" width="600" scrollable> <VDialog v-if="releaseDialog" v-model="releaseDialog" width="600" scrollable>
<VCard> <VCard :title="`${props.plugin?.plugin_name} 更新说明`">
<DialogCloseBtn @click="releaseDialog = false" /> <DialogCloseBtn @click="releaseDialog = false" />
<VCardTitle>{{ props.plugin?.plugin_name }} 更新说明</VCardTitle>
<VersionHistory :history="props.plugin?.history" /> <VersionHistory :history="props.plugin?.history" />
<VCardText> <VCardText>
<VBtn @click="updatePlugin" block> <VBtn @click="updatePlugin" block>
+6 -7
View File
@@ -8,17 +8,16 @@ const props = defineProps({
</script> </script>
<template> <template>
<VCardItem> <VCardText>
<VList> <VList>
<VListItem <VListItem v-for="(value, key) in props.history" :key="key">
v-for="(value, key) in props.history" <VListItemTitle class="font-bold text-lg">
:key="key" {{ key }}
> </VListItemTitle>
<VListItemTitle>{{ key }}</VListItemTitle>
<div class="text-gray-500"> <div class="text-gray-500">
{{ value }} {{ value }}
</div> </div>
</VListItem> </VListItem>
</VList> </VList>
</VCardItem> </VCardText>
</template> </template>