fix: 修复接口定义表格加载数据时无蒙版的问题

修复接口定义表格加载数据时无蒙版的问题
This commit is contained in:
song-tianyang 2021-06-01 16:09:06 +08:00 committed by 刘瑞斌
parent bd82d0bba8
commit adcb705b06
2 changed files with 8 additions and 2 deletions

View File

@ -14,6 +14,7 @@
:operators="tableOperatorButtons" operator-width="200px"
@refresh="initTable"
@openCustomHeader="customHeader"
:table-is-loading="this.result.loading"
ref="apiDefinitionTable"
>
<template v-for="(item, index) in tableLabel">

View File

@ -12,7 +12,7 @@
class="test-content adjust-table ms-table"
:class="{'ms-select-all-fixed':showSelectAll}"
:height="screenHeight"
v-loading="result.loading"
v-loading="tableIsLoading"
ref="table" @row-click="handleRowClick">
<el-table-column v-if="enableSelection" width="50" type="selection"/>
@ -80,7 +80,6 @@ export default {
return {
selectDataCounts: 0,
selectRows: new Set(),
result: {},
selectIds: []
};
},
@ -152,6 +151,12 @@ export default {
default() {
return true;
}
},
tableIsLoading:{
type:Boolean,
default() {
return false;
}
}
},
mounted() {