Browse Source

修改合同回签后预览问题

jwyu 3 years ago
parent
commit
441496bf31
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages-approve/custome/detail.vue

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

@@ -239,7 +239,7 @@
 				let arr = [];
 				if (info && contractInfo && (info.CompanyApprovalDetail.ApplyMethod === 1 || info
 						.CompanyApprovalDetail.ApplyMethod === 5)) {
-					const reg = /\.(pdf)$/;
+					const reg = /\.(pdf)|\.doc|\.docx$/;
 					arr = contractInfo.ImgUrl.split("#").map((item) => {
 						if (reg.test(item)) {
 							return {