更新 exception 组件

This commit is contained in:
就眠儀式
2022-01-29 23:07:16 +08:00
parent 5a1f43a9d8
commit de92a5fd2e
7 changed files with 381 additions and 1026 deletions

View File

@@ -1,6 +1,34 @@
::: anchor
:::
::: title 401
:::
::: demo 使用 `lay-exception` 标签, 创建一个异常页面
<template>
<lay-exception status="401" title="401" describe="暂无相关权限">
<template #action>
<lay-button>刷新</lay-button>
<lay-button type="primary">返回</lay-button>
</template>
</lay-exception>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
::: title 403
:::