Commit 0f0d7d8c authored by 罗林杰's avatar 罗林杰

修改导出

parent 68b83b18
......@@ -39,7 +39,7 @@
@click="handleMove(1)"
>移动</a-button
>
<a-button :disabled="getRowSelection().selectedRowKeys <= 0" type="primary">导出</a-button>
<a-button :disabled="getRowSelection().selectedRowKeys <= 0" type="primary"@click="handleExport">导出</a-button>
<a-button type="primary" @click="handleImport">导入</a-button>
<a-button type="primary" @click="handleNewFolder">新建文件夹</a-button>
<a-button type="primary" @click="handleDataEntry">新建文件</a-button>
......@@ -186,7 +186,17 @@
});
}
/** 导出按钮*/
async function handleExport() {}
async function handleExport() {
createConfirm({
iconType: 'info',
title: '确认导出',
content: '确认导出选中数据吗?',
onOk() {
createMessage.success('导出成功!');
reload();
},
});
}
/** 导入成功*/
function handleImportSuccess() {
reload();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment