|
@@ -322,6 +322,7 @@ export default defineComponent({
|
|
|
tableColumns: computedTableColumns,
|
|
tableColumns: computedTableColumns,
|
|
|
pagerConfig: getPaginationInfo,
|
|
pagerConfig: getPaginationInfo,
|
|
|
setColumnSortConfig,
|
|
setColumnSortConfig,
|
|
|
|
|
+ tableLoading: getLoading,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
render() {
|
|
render() {
|
|
@@ -405,11 +406,13 @@ const renderTable = (instance) => {
|
|
|
id,
|
|
id,
|
|
|
tableColumns,
|
|
tableColumns,
|
|
|
pagerConfig,
|
|
pagerConfig,
|
|
|
|
|
+ tableLoading,
|
|
|
} = instance;
|
|
} = instance;
|
|
|
const tableProps = {
|
|
const tableProps = {
|
|
|
...getTableBindValues,
|
|
...getTableBindValues,
|
|
|
columns: tableColumns,
|
|
columns: tableColumns,
|
|
|
pagerConfig,
|
|
pagerConfig,
|
|
|
|
|
+ loading: tableLoading,
|
|
|
};
|
|
};
|
|
|
const result = [
|
|
const result = [
|
|
|
<vxe-grid ref="tableElRef" {...tableProps}>
|
|
<vxe-grid ref="tableElRef" {...tableProps}>
|