−6%
小程序首屏包体比上次降低 6%。
Paged Agent insights with metrics and action suggestions.
小程序首屏包体比上次降低 6%。
<script setup lang="ts">
import { AgentInsightCard } from '@/components/agent-ui'
</script>
<template>
<AgentInsightCard v-model:current="current" :insights="insights" />
</template>| Prop | Type | Default | Description |
|---|---|---|---|
current | number | 0 | Current page |
insights | AgentInsightItem[] | [] | Insights |
title | string | Insights | Title |
| Event | Payload | Description |
|---|---|---|
action | AgentInsightItem | Run action |
update:current | number | Update page |
Target notes
| Target | Import |
|---|---|
| H5 | Named export from @/components/agent-ui |
| weapp | Default export from @/components/agent-ui/AgentInsightCard.vue |