Parcourir la source

fix:上传计划预算函

snow il y a 1 an
Parent
commit
114582ffe6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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