Browse Source

fix:上传计划预算函

snow 1 year ago
parent
commit
114582ffe6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/manage/src/letter/index.vue

+ 1 - 1
src/components/manage/src/letter/index.vue

@@ -208,7 +208,7 @@ export default {
       return (fileName.length > 10 ? fileName[0] + fileName[1]  + '...' + fileName[fileName.length -1] : fileName) + '.' + suffix
     },
     handleUploadModalVisible(){
-      if((this.beforeModalVisible && !this.beforeModalVisible()) && this.type !== 'project'){
+      if(this.type !== 'project' && (this.beforeModalVisible && !this.beforeModalVisible())){
         return
       }
       this.xlsxVisible = true