Browse Source

成本分配列表-导出

jbb 1 year ago
parent
commit
cd2de1de6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/cost-allocation-total/list.vue

+ 1 - 1
src/views/cost-allocation-total/list.vue

@@ -318,7 +318,7 @@ export default {
           return
         }
         if (typeof window.navigator.msSaveBlob !== 'undefined') {
-          window.navigator.msSaveBlob(new Blob([data], { type: 'application/vnd.ms-excel' }), +fileName + '.xlsx')
+          window.navigator.msSaveBlob(new Blob([data], { type: 'application/vnd.ms-excel' }), fileName + '.xlsx')
         } else {
           let url = window.URL.createObjectURL(new Blob([data], { type: 'application/vnd.ms-excel' }))
           let link = document.createElement('a')