Browse Source

设置非专利文献上传不上传文件也可以成功

zhuliu 1 year ago
parent
commit
b27328d185

+ 1 - 1
src/views/report/InvalidResponse/components/dialog/editEvidence.vue

@@ -86,7 +86,7 @@ export default {
     submit(){
         this.$refs.form.validate((valid) => {
           if (valid) {
-            if(this.form.type == 1){
+            if(this.form.type == 1 && this.form.systemFile){
                 var guids = this.$commonJS.checkUploadFile([this.form.systemFile])
                 if(!guids){
                     return false