feat: 报告标题

This commit is contained in:
2026-03-27 16:49:29 +08:00
parent f1585770db
commit 23a15d2a5f
4 changed files with 27 additions and 11 deletions

View File

@@ -56,7 +56,10 @@
:rehype-plugins="[rehypeRaw]"
>
<template v-slot:s-card="{ children: children, ...attrs }">
<Card :title="attrs.title" @click.native="handleClickReport" />
<Card
:title="content.reportName ?? attrs.title"
@click.native="handleClickReport"
/>
</template>
<template v-slot:s-url="{ children: children }">
<Url :list="content.webAddress" @click.native="handleClickUrls" />
@@ -261,7 +264,7 @@
}
const handleClickReport = () => {
MyEvent.emit('openReport', props.content.sessionId)
MyEvent.emit('openReport', props.content)
// 点击显示报告
}
const handleClickUrls = (data) => {