|
@@ -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
|