Result 结果
用于反馈操作结果或异常状态页,内置 success、error、info、warning 以及 403、404、500 七种翠绿风格插画。
操作结果与异常页
权限策略已生效
本次共更新 3 个角色的访问范围,审计日志已同步落库。
vue
<template>
<VbResult status="404" title="404" sub-title="抱歉,您访问的页面不存在。">
<template #extra>
<VbButton type="primary">返回首页</VbButton>
</template>
</VbResult>
</template>API
| 属性 / 插槽 | 说明 | 类型 | 默认值 |
|---|---|---|---|
status | 结果状态类型 | 'success' | 'error' | 'info' | 'warning' | '403' | '404' | '500' | 'info' |
title | 主标题 | string | — |
subTitle | 副标题说明 | string | — |
#icon / #extra / default | 自定义图标、操作按钮与补充内容区 | Slot | — |