Skip to content

AgentInsightCard ​

可翻页的 Agent 洞察、指标和行动建议。

案例 ​

AgentInsightCardH5 与 Wevu 使用同一公共 API
实时状态
发布检查工作流AgentInsightCard
InsightsBundle insight1/2
−6%

小程序首屏包体比上次降低 6%。

基础用法 ​

vue
<script setup lang="ts">
import { AgentInsightCard } from '@/components/agent-ui'
</script>

<template>
  <AgentInsightCard v-model:current="current" :insights="insights" />
</template>

Props ​

PropTypeDefault说明
currentnumber0当前页
insightsAgentInsightItem[][]洞察列表
titlestringInsights标题

Events ​

EventPayload说明
actionAgentInsightItem执行建议
update:currentnumber更新当前页

平台差异

TargetImport
H5Named export from @/components/agent-ui
weapp默认导出自 @/components/agent-ui/AgentInsightCard.vue