From f5ee139b2de4c535071aee6d8a43a2c8151c873b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Wed, 2 Feb 2022 04:19:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/docs/zh-CN/components/exception.md | 30 +++++++++++++++++++ example/docs/zh-CN/components/result.md | 35 ++++++++++++++++++++-- example/src/layouts/Layout.vue | 2 +- example/src/view/guide.vue | 18 ----------- example/src/view/index.vue | 2 +- 5 files changed, 65 insertions(+), 22 deletions(-) diff --git a/example/docs/zh-CN/components/exception.md b/example/docs/zh-CN/components/exception.md index 49083155..9cdc3802 100644 --- a/example/docs/zh-CN/components/exception.md +++ b/example/docs/zh-CN/components/exception.md @@ -113,3 +113,33 @@ export default { ::: + +::: title Exception 属性 +::: + +::: table + +| 属性 | 描述 | 可选值 | +| ----------- | -------- | ------ | +| title | 标题 | -- | +| status | 状态 | `403` `404` `500` | +| describe | 描述信息 | -- | + +::: + +::: title Exception 插槽 +::: + +::: table + +| 属性 | 描述 | 可选值 | +| ----------- | -------- | ------ | +| action | 操作 | -- | + +::: + +::: comment +::: + +::: previousNext field +::: \ No newline at end of file diff --git a/example/docs/zh-CN/components/result.md b/example/docs/zh-CN/components/result.md index 28e83cc0..5215727b 100644 --- a/example/docs/zh-CN/components/result.md +++ b/example/docs/zh-CN/components/result.md @@ -4,7 +4,7 @@ ::: title 成功 ::: -::: demo 使用 `lay-exception` 标签, 创建一个异常页面 +::: demo 使用 `lay-result` 标签, 创建一个结果页面