export function parseFileUploadResponse(fileList: any[]): string {
  const fileNames = fileList.map(f => {
    try {
      const response = JSON.parse(f.response)
      return response.data.fileName
    } catch (error) {
      console.error('解析文件响应失败:', error)
      return ''
    }
  }).filter(Boolean)
  return fileNames.join(',')
}
