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