iOS: set reuse flag when in embedded mode

This commit is contained in:
pengfei.zhou 2022-07-13 16:47:30 +08:00 committed by osborn
parent c050a18546
commit 1a3789fc4c

View File

@ -148,6 +148,7 @@ - (__kindof UICollectionViewCell *)collectionView:(UICollectionView *)collection
[it config:script alias:alias extra:nil]; [it config:script alias:alias extra:nil];
}]; }];
[cell.panel.doricContext callEntity:@"setData", data, nil]; [cell.panel.doricContext callEntity:@"setData", data, nil];
cell.panel.doricContext.rootNode.reusable = YES;
}]; }];
} }
if (cell.panel.doricContext != nil) { if (cell.panel.doricContext != nil) {