perf: 补上loading、统一table的滚动条尺寸

This commit is contained in:
陈劲松
2020-04-19 21:48:03 +08:00
parent ac72c455c7
commit eaf40a03db
22 changed files with 96 additions and 29 deletions

View File

@@ -195,7 +195,9 @@
this.$emit('changeTab', tab);
},
getTableData() {
this.loading = true;
this.$get('/endpoint?assetId=' + this.asset.id + 'pageSize=-1').then(response => {
this.loading = false;
if (response.code === 200) {
this.tableData = response.data.list;
this.$emit("reload");