We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4f833b commit da679b6Copy full SHA for da679b6
packages/list/src/list.js
@@ -55,7 +55,8 @@ export default {
55
this.$nextTick(() => {
56
let loadingConfig = {
57
target: this.$refs.loading,
58
- spinner: 'el-icon-loading'
+ spinner: 'el-icon-loading',
59
+ background: 'transparent'
60
};
61
if (this.loadingConfig) {
62
loadingConfig = merge(loadingConfig, this.loadingConfig);
@@ -131,7 +132,7 @@ export default {
131
132
) : listItemChildren.length > 0 ? (
133
this._l(listItemChildren, node => node)
134
) : (
- <div class="el-list__empty-text">
135
+ <div class="el-list__empty-text" v-show={!this.loading}>
136
{
137
this.$slots.empty ? this.$slots.empty : (this.emptyText || this.t('el.list.emptyText'))
138
}
0 commit comments