From f8a1ffa4b085ab8d0bbdacf811d5306d3bd096ea Mon Sep 17 00:00:00 2001 From: shizhongming Date: Tue, 13 Feb 2024 01:03:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(smart-table):=20=E4=BF=AE=E5=A4=8D=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E7=8A=B6=E6=80=81=E4=B8=8D=E7=94=9F=E6=95=88=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SmartTable/src/SmartTable.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/SmartTable/src/SmartTable.tsx b/src/components/SmartTable/src/SmartTable.tsx index 57a557097..58097b741 100644 --- a/src/components/SmartTable/src/SmartTable.tsx +++ b/src/components/SmartTable/src/SmartTable.tsx @@ -322,6 +322,7 @@ export default defineComponent({ tableColumns: computedTableColumns, pagerConfig: getPaginationInfo, setColumnSortConfig, + tableLoading: getLoading, }; }, render() { @@ -405,11 +406,13 @@ const renderTable = (instance) => { id, tableColumns, pagerConfig, + tableLoading, } = instance; const tableProps = { ...getTableBindValues, columns: tableColumns, pagerConfig, + loading: tableLoading, }; const result = [