fix: table emptyText not work
parent
717ba47726
commit
4ef08a6cc2
|
@ -925,7 +925,7 @@ export default {
|
|||
showHeader,
|
||||
expandIconColumnIndex,
|
||||
expandIconAsCell,
|
||||
emptyText: !(loading.props && loading.spinning) && locale.emptyText,
|
||||
emptyText: !(loading.props && loading.props.spinning) && locale.emptyText,
|
||||
},
|
||||
on: this.$listeners,
|
||||
class: classString,
|
||||
|
@ -949,6 +949,10 @@ export default {
|
|||
spinning: loading,
|
||||
},
|
||||
}
|
||||
} else {
|
||||
loading = {
|
||||
props: { ...loading },
|
||||
}
|
||||
}
|
||||
|
||||
const table = (
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
import PropTypes from '../_util/vue-types'
|
||||
|
||||
export default {
|
||||
name: 'Page',
|
||||
name: 'Pager',
|
||||
props: {
|
||||
rootPrefixCls: PropTypes.string,
|
||||
page: PropTypes.number,
|
||||
|
|
Loading…
Reference in New Issue