From 4607b80751e107768bf85e8c14fe7b3519ddbff9 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Mon, 25 Jul 2022 12:04:29 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E6=9D=BF=E7=9A=84=E5=A4=8D=E7=94=A8=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=A4=8D=E7=94=A8=E6=89=80=E6=9C=89=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/canvas/store/copy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/canvas/store/copy.js b/frontend/src/components/canvas/store/copy.js index 1c5ded3c56..4eba66bfef 100644 --- a/frontend/src/components/canvas/store/copy.js +++ b/frontend/src/components/canvas/store/copy.js @@ -105,6 +105,7 @@ export default { } else if (data.type === 'de-tabs') { const sourceAndTargetIds = {} const newCop = deepCopy(data) + newCop.id = uuid.v1() newCop.options.tabList.forEach((item) => { if (item.content && item.content.type === 'view') { const newViewId = uuid.v1()