tiny-vue/examples/docs/resources/mobile-first/md/exception/component-empty.md

30 lines
642 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="demo-header">
<p class="overviewicon">
<span class="wapi-ui-exception"/>
</p>
## Exception 缺省页
<nova-uxlink widget-name="Exception"></nova-uxlink>
</div>
### 组件级空态
通过添加`component-empty`属性展示组件级空态,其中 type 类型有`noperm、 nodata、 weaknet、noresult、 nonews`
:::tip
对应场景:
`noperm` :无访问权限
`nodata` :暂无数据
`weaknet` :网络不给力
`noresult`:无相关搜索结果
`nonews`:暂无最新消息
:::
<nova-demo-view link="exception/component-empty.vue"></nova-demo-view>
<br />
<nova-attributes link="exception"></nova-attributes>