2022-01-30 18:19:12 +08:00
|
|
|
::: anchor
|
|
|
|
:::
|
|
|
|
|
|
|
|
::: title 成功
|
|
|
|
:::
|
|
|
|
|
|
|
|
::: demo 使用 `lay-exception` 标签, 创建一个异常页面
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<lay-result></lay-result>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
setup() {
|
|
|
|
|
|
|
|
return {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2022-02-02 03:27:34 +08:00
|
|
|
:::
|
|
|
|
|
|
|
|
::: title 失败
|
|
|
|
:::
|
|
|
|
|
|
|
|
::: demo 使用 `lay-exception` 标签, 创建一个异常页面
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<lay-result status="failure"></lay-result>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
setup() {
|
|
|
|
|
|
|
|
return {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2022-01-30 18:19:12 +08:00
|
|
|
:::
|