瀏覽代碼

修改合同回签后预览问题

jwyu 3 年之前
父節點
當前提交
3b7a8ac453
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {