@@ -77,6 +77,7 @@ export default {
}
//判断是否是带分页查询
if (this.isKuang) {
+ this.loading = true;
// 发送请求
this.axios
.post(url, data, {
@@ -95,6 +96,7 @@ export default {
this.refreshColumnData(d.columnData)
//this.$refs.mainTable.getTableConfig();
this.isShow = true
+ this.loading = false;
})
} else {
this.dataCurrentPage = 1
@@ -1,5 +1,5 @@
<template>
- <div class="st-base-table" v-show="isShow">
+ <div class="st-base-table">
<!-- 表格主体 -->
<el-table
ref="mainTable"