parent
bd82d0bba8
commit
adcb705b06
|
@ -14,6 +14,7 @@
|
||||||
:operators="tableOperatorButtons" operator-width="200px"
|
:operators="tableOperatorButtons" operator-width="200px"
|
||||||
@refresh="initTable"
|
@refresh="initTable"
|
||||||
@openCustomHeader="customHeader"
|
@openCustomHeader="customHeader"
|
||||||
|
:table-is-loading="this.result.loading"
|
||||||
ref="apiDefinitionTable"
|
ref="apiDefinitionTable"
|
||||||
>
|
>
|
||||||
<template v-for="(item, index) in tableLabel">
|
<template v-for="(item, index) in tableLabel">
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
class="test-content adjust-table ms-table"
|
class="test-content adjust-table ms-table"
|
||||||
:class="{'ms-select-all-fixed':showSelectAll}"
|
:class="{'ms-select-all-fixed':showSelectAll}"
|
||||||
:height="screenHeight"
|
:height="screenHeight"
|
||||||
v-loading="result.loading"
|
v-loading="tableIsLoading"
|
||||||
ref="table" @row-click="handleRowClick">
|
ref="table" @row-click="handleRowClick">
|
||||||
|
|
||||||
<el-table-column v-if="enableSelection" width="50" type="selection"/>
|
<el-table-column v-if="enableSelection" width="50" type="selection"/>
|
||||||
|
@ -80,7 +80,6 @@ export default {
|
||||||
return {
|
return {
|
||||||
selectDataCounts: 0,
|
selectDataCounts: 0,
|
||||||
selectRows: new Set(),
|
selectRows: new Set(),
|
||||||
result: {},
|
|
||||||
selectIds: []
|
selectIds: []
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
@ -152,6 +151,12 @@ export default {
|
||||||
default() {
|
default() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
tableIsLoading:{
|
||||||
|
type:Boolean,
|
||||||
|
default() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
Loading…
Reference in New Issue