mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[improvement] PullRefresh: optimize loading
This commit is contained in:
@@ -150,11 +150,7 @@ export default sfc({
|
||||
|
||||
const Status = this.slots(status) || [
|
||||
TEXT_STATUS.indexOf(status) !== -1 && <div class={bem('text')}>{text}</div>,
|
||||
status === 'loading' && (
|
||||
<Loading class={bem('loading')} size="16">
|
||||
{text}
|
||||
</Loading>
|
||||
)
|
||||
status === 'loading' && <Loading size="16">{text}</Loading>
|
||||
];
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user