From 681f9d6449e8e1efe6c5cb2db2da42453584bea8 Mon Sep 17 00:00:00 2001 From: igrowp <164761965@qq.com> Date: Mon, 9 Jan 2023 21:28:21 +0800 Subject: [PATCH] =?UTF-8?q?amis-saas-9257=20=E3=80=8CBug=E3=80=8D=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=AE=BE=E8=AE=A1=E5=99=A8=E5=A2=9E=E5=88=A0=E6=94=B9?= =?UTF-8?q?=E6=9F=A5=E7=BB=84=E4=BB=B6=E9=80=9A=E8=BF=87=E5=BF=AB=E9=80=9F?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E5=90=8E?= =?UTF-8?q?=EF=BC=8C=E9=87=8D=E6=96=B0=E6=89=93=E5=BC=80=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=9C=AA=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I982f1a5528a6600394313ff5fedce9b02c61851a --- packages/amis-editor/src/plugin/CRUD.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/amis-editor/src/plugin/CRUD.tsx b/packages/amis-editor/src/plugin/CRUD.tsx index 9a4d89571..a0015a03a 100644 --- a/packages/amis-editor/src/plugin/CRUD.tsx +++ b/packages/amis-editor/src/plugin/CRUD.tsx @@ -464,6 +464,12 @@ export class CRUDPlugin extends BasePlugin { (item: any) => item.type === 'operation' ); hasFeatures && !hasOperate && valueSchema.columns.push(oper); + + setTimeout(() => { + // 更新 + this.manager.buildPanels(); + this.manager.buildToolbars(); + }, 20); return valueSchema; }, canRebuild: true