From 2360100483b43cb5a4cb5d9ce6b57115f521df7d Mon Sep 17 00:00:00 2001 From: alan Date: Mon, 23 Sep 2019 14:56:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BI-52258=20=E4=BF=AE=E5=A4=8D=E5=A4=8D?= =?UTF-8?q?=E5=88=B6=E6=95=B0=E6=8D=AE=E8=BF=9E=E6=8E=A5=E6=97=B6=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/pages/maintain/forms/form.model.ts | 1 + src/modules/pages/maintain/forms/form.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/pages/maintain/forms/form.model.ts b/src/modules/pages/maintain/forms/form.model.ts index a41f4dd..2c3ae73 100644 --- a/src/modules/pages/maintain/forms/form.model.ts +++ b/src/modules/pages/maintain/forms/form.model.ts @@ -31,6 +31,7 @@ export class MaintainFormModel extends Model<{ return; } this.model.pageIndex = PAGE_INDEX.CONNECTION; + this.model.isCopy = false; }); }, updateConnection: (name: string, data: Connection) => { diff --git a/src/modules/pages/maintain/forms/form.ts b/src/modules/pages/maintain/forms/form.ts index acddee8..e7db2a3 100644 --- a/src/modules/pages/maintain/forms/form.ts +++ b/src/modules/pages/maintain/forms/form.ts @@ -37,7 +37,6 @@ export class MaintainForm extends BI.Widget { form.connectionId = this.connectionName; this.store.addConnection(form); } - this.store.setIsCopy(false); }, testEvent: () => { const value = this.form.getSubmitValue();