<Table :columns="columns"
    :no-data-text="loadingText ? loadingText : '暂无数据'"
    :data="data">
</Table>
data() {
    return {
        loadingText: ''
    }
},
methods: {
    load() {
        this.loadingText = '数据加载中...';
        axios.get('/some/url').then(resp => this.loadingText = '') 
    }
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2021-11-23
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
猜你喜欢
  • 2022-12-23
  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-23
  • 2021-07-04
  • 2021-09-23
相关资源
相似解决方案