diff --git a/frontend/src/views/system/dictionary/dictData/index.vue b/frontend/src/views/system/dictionary/dictData/index.vue index c3c3411..e4876bf 100644 --- a/frontend/src/views/system/dictionary/dictData/index.vue +++ b/frontend/src/views/system/dictionary/dictData/index.vue @@ -137,7 +137,7 @@ const handleDelete = async (params: Dict.ResDictData) => { const downloadFile = async () => { ElMessageBox.confirm('确认导出字典数据?', '温馨提示', {type: 'warning'}).then(() => - useDownload(exportDictData, '字典数据导出数据', {typeId: dictTypeId.value, ...(proTable.value?.searchParam)}, false, '.xls'), + useDownload(exportDictData, '字典数据导出数据', {typeId: dictTypeId.value, ...(proTable.value?.searchParam)}, false), ) } diff --git a/frontend/src/views/system/dictionary/dictType/index.vue b/frontend/src/views/system/dictionary/dictType/index.vue index b8884dc..ada1af1 100644 --- a/frontend/src/views/system/dictionary/dictType/index.vue +++ b/frontend/src/views/system/dictionary/dictType/index.vue @@ -108,7 +108,7 @@ const toDictData = (row: Dict.ResDictType) => { // 导出字典类型列表 const downloadFile = async () => { ElMessageBox.confirm('确认导出字典类型数据?', '温馨提示', { type: 'warning' }).then(() => - useDownload(exportDictType, '字典类型导出数据', proTable.value?.searchParam, false,'.xls'), + useDownload(exportDictType, '字典类型导出数据', proTable.value?.searchParam, false), ) }