[improvement] List: improve accessibility

This commit is contained in:
陈嘉涵
2019-05-25 12:09:33 +08:00
parent cea1632927
commit a7e346ca0f
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ export default sfc({
render(h) {
return (
<div class={bem()}>
<div class={bem()} role="feed" aria-busy={this.loading}>
{this.direction === 'down' && this.slots()}
{this.loading && (
<div class={bem('loading')} key="loading">