mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
fix: crud编辑器组件面板提示导致页面卡死问题修复 (#8779)
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
This commit is contained in:
parent
8e19fcea70
commit
e124be1aa6
@ -686,7 +686,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
|
||||
} else if (!props.api && isPureVariable(props.source)) {
|
||||
const next = resolveVariableAndFilter(props.source, props.data, '| raw');
|
||||
|
||||
if (!this.lastData || this.lastData !== next) {
|
||||
if (!this.lastData || !isEqual(this.lastData, next)) {
|
||||
store.initFromScope(props.data, props.source, {
|
||||
columns: store.columns ?? props.columns
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user