feat:导出失败的问题
This commit is contained in:
1 parent
b765e84642
commit
925f25e9a6
2 files changed
+6
-3
No files matched your search
@@ -246,12 +246,12 @@ const taskSubmitEvent = () => {
|
||||
// 导出excel
|
||||
const exportExcel = () => {
|
||||
const _data = { ...state.queryForm }
|
||||
if (_data.role) {
|
||||
if (_data.role && !Array.isArray(_data.role)) {
|
||||
_data.role = [_data.role]
|
||||
} else {
|
||||
_data.role = []
|
||||
}
|
||||
postDownBlobFile("/admin/user/export", Object.assign(_data, { ids: selectObjs }), "用户管理.xlsx")
|
||||
postDownBlobFile("/admin/user/export", Object.assign(_data, { ids: selectObjs.value }), "用户管理.xlsx")
|
||||
}
|
||||
|
||||
// 是否可以多选
|
||||
|
||||
Reference in new issue
Block a user