修复BUG: 用户管理导入导出按钮权限
This commit is contained in:
@@ -78,6 +78,7 @@ export const createCrudOptions = function ({crudExpose}: CreateCrudOptionsProps)
|
||||
export: {
|
||||
text: "导出",//按钮文字
|
||||
title: "导出",//鼠标停留显示的信息
|
||||
show: auth('user:Export'),
|
||||
click() {
|
||||
return exportRequest(crudExpose!.getSearchFormData())
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<el-card :body-style="{ height: '100%' }">
|
||||
<fs-crud ref="crudRef" v-bind="crudBinding">
|
||||
<template #actionbar-right>
|
||||
<importExcel api="api/system/user/">导入</importExcel>
|
||||
<importExcel api="api/system/user/" v-auth="'user:Import'">导入</importExcel>
|
||||
</template>
|
||||
</fs-crud>
|
||||
</el-card>
|
||||
|
||||
Reference in New Issue
Block a user