提交 result 组件
This commit is contained in:
25
example/docs/zh-CN/components/result.md
Normal file
25
example/docs/zh-CN/components/result.md
Normal file
@@ -0,0 +1,25 @@
|
||||
::: anchor
|
||||
:::
|
||||
|
||||
::: title 成功
|
||||
:::
|
||||
|
||||
::: demo 使用 `lay-exception` 标签, 创建一个异常页面
|
||||
|
||||
<template>
|
||||
<lay-result></lay-result>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ref } from 'vue'
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
return {
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
:::
|
||||
@@ -340,6 +340,10 @@ const zhCN = [
|
||||
path: "/zh-CN/components/exception",
|
||||
component: () => import("../../docs/zh-CN/components/exception.md"),
|
||||
meta: { title: "异常" },
|
||||
}, {
|
||||
path: "/zh-CN/components/result",
|
||||
component: () => import("../../docs/zh-CN/components/result.md"),
|
||||
meta: { title: "结果" },
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -308,6 +308,12 @@ const menus = [
|
||||
title: "异常",
|
||||
subTitle: "exception",
|
||||
path: "/zh-CN/components/exception",
|
||||
},
|
||||
{
|
||||
id: 100,
|
||||
title: "结果",
|
||||
subTitle: "result",
|
||||
path: "/zh-CN/components/result",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user