e.stopPropagation()}>
@@ -198,13 +196,13 @@ export default (props: { taskId: number; action: any; dialect: string }) => {
const data = tableData.data;
if (tableData.success && data?.success) {
if (data.mockSinkResult == true) {
- setDataList(convertMockResultToList(data))
+ setDataList(convertMockResultToList(data));
} else {
setData(data);
}
} else {
setData({});
- setDataList([])
+ setDataList([]);
}
}
@@ -249,7 +247,6 @@ export default (props: { taskId: number; action: any; dialect: string }) => {
>
);
};
-
const renderDownloadButton = () => {
if (data.columns) {
const _utf = '\uFEFF';
@@ -261,7 +258,6 @@ export default (props: { taskId: number; action: any; dialect: string }) => {
}
return undefined;
};
-
const renderAVA = () => {
return (