parent
11ea449489
commit
883755ed4e
|
@ -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">
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue