update details

This commit is contained in:
Fine 2022-11-24 19:37:33 +08:00
parent 21bf6a9181
commit d784b47df0

View File

@ -101,18 +101,18 @@ limitations under the License. -->
@closed="showEventDetail = false" @closed="showEventDetail = false"
> >
<div> <div>
<div>Name: {{ currentEvent.event || "" }}</div> <div class="mb-10">Name: {{ currentEvent.event || "" }}</div>
<div> <div class="mb-10">
Start Time: Start Time:
{{ {{
currentEvent.startTime ? visDate(Number(currentEvent.startTime)) : "" currentEvent.startTime ? visDate(Number(currentEvent.startTime)) : ""
}} }}
</div> </div>
<div> <div class="mb-10">
End Time: End Time:
{{ currentEvent.endTime ? visDate(Number(currentEvent.endTime)) : "" }} {{ currentEvent.endTime ? visDate(Number(currentEvent.endTime)) : "" }}
</div> </div>
<div> <div class="mb-10">
Summary: Summary:
{{(currentEvent.summary || []) {{(currentEvent.summary || [])
.map((d: any) => d.key + "=" + d.value) .map((d: any) => d.key + "=" + d.value)
@ -120,9 +120,13 @@ limitations under the License. -->
</div> </div>
<div> <div>
Tags: Tags:
{{(currentEvent.tags || []) <div
.map((d: any) => d.key + "=" + d.value) class="tag mb-5"
.join("; ")}} v-for="(tag, index) in currentEvent.tags || []"
:key="index"
>
{{ tag.key + "=" + tag.value }};
</div>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>