🐛 修复 dictType 和 dictData 在 IDEA 报错的问题

This commit is contained in:
YunaiV committed 2023-12-02 18:22:02 +08:00
1 parent a77173f2ae
commit 757fbddef2
6 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -45,5 +45,5 @@ export const deleteDictData = (id: number) => {
// 导出字典类型数据
export const exportDictData = (params) => {
return request.get({ url: '/system/dict-data/export', params })
return request.download({ url: '/system/dict-data/export', params })
}
+1 -1
View File
@@ -40,5 +40,5 @@ export const deleteDictType = (id: number) => {
}
// 导出字典类型
export const exportDictType = (params) => {
return request.get({ url: '/system/dict-type/export', params })
return request.download({ url: '/system/dict-type/export', params })
}