|
@@ -83,7 +83,7 @@ export function useTable(
|
|
getTableInstance().setLoading(loading);
|
|
getTableInstance().setLoading(loading);
|
|
},
|
|
},
|
|
getDataSource: () => {
|
|
getDataSource: () => {
|
|
- return toRaw(getTableInstance().getDataSource());
|
|
|
|
|
|
+ return getTableInstance().getDataSource();
|
|
},
|
|
},
|
|
getColumns: ({ ignoreIndex = false }: { ignoreIndex?: boolean } = {}) => {
|
|
getColumns: ({ ignoreIndex = false }: { ignoreIndex?: boolean } = {}) => {
|
|
const columns = getTableInstance().getColumns({ ignoreIndex }) || [];
|
|
const columns = getTableInstance().getColumns({ ignoreIndex }) || [];
|