Explorar el Código

修改合同回签后预览问题

jwyu hace 3 años
padre
commit
3b7a8ac453
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pages-approve/contract/detail.vue

+ 1 - 1
pages-approve/contract/detail.vue

@@ -188,7 +188,7 @@
 			},
 			//回签附件
 			checkBackFiles(){
-				const reg = /\.(pdf)|$/;
+				const reg = /\.(pdf)|\.doc|\.docx$/;
 				return this.detail&&this.detail.CheckBackFileUrl&&this.detail.CheckBackFileUrl.split("#").map((item) => {
 					if (reg.test(item)) {
 						return {