空状态 组件 #6015
Unanswered
insomniahl
asked this question in
Q&A
空状态 组件
#6015
Replies: 1 comment
-
看文档 https://mobile.ant.design/zh/components/error-block#createerrorblock import { createErrorBlock } from 'antd-mobile'
const Empty = createErrorBlock({
'default': EmptyImage,
})
// use
<Empty status='empty' /> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
为什么要去掉 Empty 空状态组件呢,我就想展示一个暂无数据这样的样式,如果按你们建议用ErrorBlock,这个改如何实现呢
Beta Was this translation helpful? Give feedback.
All reactions