From 1a3789fc4ca7c3e7aaaf1025c74eb016bdee9d18 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Wed, 13 Jul 2022 16:47:30 +0800 Subject: [PATCH] iOS: set reuse flag when in embedded mode --- doric-iOS/Example/Example/DoricEmbeddedExampleVC.m | 1 + 1 file changed, 1 insertion(+) diff --git a/doric-iOS/Example/Example/DoricEmbeddedExampleVC.m b/doric-iOS/Example/Example/DoricEmbeddedExampleVC.m index 6dd761de..5ab46177 100644 --- a/doric-iOS/Example/Example/DoricEmbeddedExampleVC.m +++ b/doric-iOS/Example/Example/DoricEmbeddedExampleVC.m @@ -148,6 +148,7 @@ - (__kindof UICollectionViewCell *)collectionView:(UICollectionView *)collection [it config:script alias:alias extra:nil]; }]; [cell.panel.doricContext callEntity:@"setData", data, nil]; + cell.panel.doricContext.rootNode.reusable = YES; }]; } if (cell.panel.doricContext != nil) {