amis-saas-9257 「Bug」页面设计器增删改查组件通过快速构建修改配置后,重新打开配置未更新

Change-Id: I982f1a5528a6600394313ff5fedce9b02c61851a
This commit is contained in:
igrowp 2023-01-09 21:28:21 +08:00
parent 48d3686dda
commit 681f9d6449

View File

@ -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