From 50a74cee949da7279774d668885dcb4aabddf289 Mon Sep 17 00:00:00 2001 From: miaoxinyu01 <133218218+miaoxinyu01@users.noreply.github.com> Date: Thu, 21 Dec 2023 09:55:14 +0800 Subject: [PATCH] =?UTF-8?q?amis-saas-15645=20[Bug]=EF=BC=9A[=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=88=97=E8=A1=A8]=E9=85=8D=E7=BD=AE=E5=BF=AB?= =?UTF-8?q?=E9=80=9F=E7=BC=96=E8=BE=91=EF=BC=8C=E9=BB=98=E8=AE=A4=E7=94=9F?= =?UTF-8?q?=E6=88=90=E3=80=90=E5=8C=85=E8=A3=B9=E3=80=91=E5=AE=B9=E5=99=A8?= =?UTF-8?q?=EF=BC=8C=E7=82=B9=E5=87=BB=E7=BB=91=E5=AE=9A=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=EF=BC=8C=E9=BB=98=E8=AE=A4=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E3=80=90=E5=8C=85=E8=A3=B9=E3=80=91=20(#9197)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-editor/src/plugin/Form/Static.tsx | 2 -- packages/amis-editor/src/plugin/Others/TableCell.tsx | 2 -- packages/amis-editor/src/plugin/TableCell2.tsx | 2 -- 3 files changed, 6 deletions(-) diff --git a/packages/amis-editor/src/plugin/Form/Static.tsx b/packages/amis-editor/src/plugin/Form/Static.tsx index 58b287370..8c644522f 100644 --- a/packages/amis-editor/src/plugin/Form/Static.tsx +++ b/packages/amis-editor/src/plugin/Form/Static.tsx @@ -93,14 +93,12 @@ setSchemaTpl('quickEdit', (patch: any, manager: any) => ({ ? { // schema中存在容器,用自己的就行 type: 'wrapper', - wrap: false, body: [], ...value } : { // schema中不存在容器,打开子编辑器时需要包裹一层 type: 'wrapper', - wrap: false, body: [ { type: 'input-text', diff --git a/packages/amis-editor/src/plugin/Others/TableCell.tsx b/packages/amis-editor/src/plugin/Others/TableCell.tsx index 3837aebb5..192f99594 100644 --- a/packages/amis-editor/src/plugin/Others/TableCell.tsx +++ b/packages/amis-editor/src/plugin/Others/TableCell.tsx @@ -139,14 +139,12 @@ export class TableCellPlugin extends BasePlugin { ? { // schema中存在容器,用自己的就行 type: 'wrapper', - wrap: false, body: [], ...value } : { // schema中不存在容器,打开子编辑器时需要包裹一层 type: 'wrapper', - wrap: false, body: [ { type: 'input-text', diff --git a/packages/amis-editor/src/plugin/TableCell2.tsx b/packages/amis-editor/src/plugin/TableCell2.tsx index 7a9c110d0..abdc0cec5 100644 --- a/packages/amis-editor/src/plugin/TableCell2.tsx +++ b/packages/amis-editor/src/plugin/TableCell2.tsx @@ -498,14 +498,12 @@ export class TableCell2Plugin extends BasePlugin { ? { // schema中存在容器,用自己的就行 type: 'wrapper', - wrap: false, body: [], ...value } : { // schema中不存在容器,打开子编辑器时需要包裹一层 type: 'wrapper', - wrap: false, body: [ { type: 'input-text',