Sfoglia il codice sorgente

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

jbb 1 anno fa
parent
commit
3dcba7b86a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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) // 下载完成移除元素