Quellcode durchsuchen

成本分配表-转入数量-导出文件类型

jbb vor 1 Jahr
Ursprung
Commit
3dcba7b86a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/views/cost-allocation-total/modal/fabInQuaModal.vue

+ 1 - 1
src/views/cost-allocation-total/modal/fabInQuaModal.vue

@@ -138,7 +138,7 @@ export default {
           let link = document.createElement('a')
           link.style.display = 'none'
           link.href = url
-          link.setAttribute('download', fileName + '.xls')
+          link.setAttribute('download', fileName + '.xlsx')
           document.body.appendChild(link)
           link.click()
           document.body.removeChild(link) // 下载完成移除元素