From 826532cc139c80453744d6293e4270a37e0e1b2b Mon Sep 17 00:00:00 2001 From: qicj Date: Fri, 16 Jul 2021 11:44:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=96=87=E4=BB=B6=E7=AD=96?= =?UTF-8?q?=E7=95=A5=E8=83=BD=E5=88=87=E6=8D=A2=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- projects/recordinfo/package.json | 2 +- .../add-electronic-document.component.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/recordinfo/package.json b/projects/recordinfo/package.json index 9671dff..fdada03 100644 --- a/projects/recordinfo/package.json +++ b/projects/recordinfo/package.json @@ -1,6 +1,6 @@ { "name": "recordinfo", - "version": "1.4.225", + "version": "1.4.226", "repository": { "type": "git", "url": "https://github.com/qichangjun/ad-record-info" diff --git a/projects/recordinfo/src/lib/add-electronic-document/add-electronic-document.component.ts b/projects/recordinfo/src/lib/add-electronic-document/add-electronic-document.component.ts index 702e5c2..aae0914 100644 --- a/projects/recordinfo/src/lib/add-electronic-document/add-electronic-document.component.ts +++ b/projects/recordinfo/src/lib/add-electronic-document/add-electronic-document.component.ts @@ -141,6 +141,9 @@ export class addElectronicDocumentComponent implements OnInit, OnChanges { files = block[0].value[0].file ? _.castArray(block[0].value[0].file) : [] } this.defaultFileLists = files + if(this.defaultFileLists.length > 0 ){ + this.disableChangePolicy = true + } } // 注入服务端文件 else if (this.serverFiles && this.serverFiles.length > 0){