Browse Source

产品技术资料调整

qymljy 10 months ago
parent
commit
aaeb7f3a5d
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/HDrpManagement/prodectFileData/modules/edit.vue

+ 1 - 4
src/HDrpManagement/prodectFileData/modules/edit.vue

@@ -166,10 +166,7 @@ export default {
           || fileData.postfix == 'TIFF' || fileData.postfix == 'tiff' ) {
         this.seeFileData = fileData
         this.$refs.seeFileRef.dialogVisible = true
-      }else if (fileData.postfix == 'PDF' || fileData.postfix == 'pdf' || fileData.postfix == 'xlsx' || fileData.postfix == 'XLSX' || fileData.postfix == 'xls' || fileData.postfix == 'XLS'
-          || fileData.postfix == 'docx' || fileData.postfix == 'DOCX' || fileData.postfix == 'doc' || fileData.postfix == 'DOC'){
-        window.open(fileData.url,'_self')
-      } else {
+      }else {
         this.$notify({
           title:'提示',
           message:'该文件暂不支持',