fix():导出,只有前台

master
yangpeng 2024-08-11 11:07:30 +08:00
parent 4dec78721e
commit b4de64cfe4
1 changed files with 7 additions and 1 deletions

View File

@ -48,7 +48,7 @@
</el-col>
<el-col :span="1.5">
<el-button
v-hasPermi="['system:config:export']"
v-hasPermi="['system:post:export']"
icon="el-icon-download"
plain
size="mini"
@ -316,6 +316,12 @@ export default {
console.error(error);
});
},
/** 导出按钮操作 */
handleExport() {
this.download('system/post/export', {
...this.queryParams
}, `post_${new Date().getTime()}.xlsx`)
}
}
}
</script>