From 80a5c939348804913a8d25b1f43376528610e945 Mon Sep 17 00:00:00 2001 From: "mario.gk" Date: Tue, 30 Jun 2020 16:38:58 +0800 Subject: [PATCH] fix: nextId append the id of document --- packages/designer/src/document/document-model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/designer/src/document/document-model.ts b/packages/designer/src/document/document-model.ts index a39698001..2b00d5239 100644 --- a/packages/designer/src/document/document-model.ts +++ b/packages/designer/src/document/document-model.ts @@ -131,7 +131,7 @@ export class DocumentModel { * 生成唯一id */ nextId() { - return (++this.seqId).toString(36).toLocaleLowerCase(); + return this.id + (++this.seqId).toString(36).toLocaleLowerCase(); } /**