fix: bug#10199 #10201

This commit is contained in:
JiangQiming 2023-02-24 14:07:45 +08:00
parent 6af3a1a998
commit 15c31a449b
3 changed files with 5 additions and 5 deletions

View File

@ -260,7 +260,7 @@ const JTable = defineComponent<JTableProps>({
/**
*
*/
expose({ reload })
expose({ reload, _dataSource })
return () => <Spin spinning={loading.value}>
<div class={styles["jtable-body"]} style={{ ...props.bodyStyle }}>

View File

@ -29,7 +29,7 @@
<a-button>导入</a-button>
</a-upload>
<a-popconfirm
title="确认导出当前页数据"
title="确认导出"
ok-text="确定"
cancel-text="取消"
@confirm="handleExport"
@ -308,7 +308,7 @@ const beforeUpload = (file: any) => {
* 导出
*/
const handleExport = () => {
downloadObject(configRef.value.dataSource, `通知配置`);
downloadObject(configRef.value._dataSource, `通知配置`);
};
const syncVis = ref(false);

View File

@ -29,7 +29,7 @@
<a-button>导入</a-button>
</a-upload>
<a-popconfirm
title="确认导出当前页数据"
title="确认导出"
ok-text="确定"
cancel-text="取消"
@confirm="handleExport"
@ -314,7 +314,7 @@ const beforeUpload = (file: any) => {
* 导出
*/
const handleExport = () => {
downloadObject(configRef.value.dataSource, `通知配置`);
downloadObject(configRef.value._dataSource, `通知配置`);
};
const syncVis = ref(false);