fix: bug#10199 #10201
This commit is contained in:
parent
6af3a1a998
commit
15c31a449b
|
@ -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 }}>
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue