feat:fix subitem mixin of listitemnode in iOS
This commit is contained in:
@@ -157,12 +157,12 @@ public abstract class SuperNode<V extends View> extends ViewNode<V> {
|
||||
protected void recursiveMixin(JSObject src, JSObject target) {
|
||||
JSObject srcProps = src.getProperty("props").asObject();
|
||||
JSObject targetProps = target.getProperty("props").asObject();
|
||||
JSValue oriSubviews = targetProps.getProperty("subviews");
|
||||
for (String key : srcProps.propertySet()) {
|
||||
JSValue jsValue = srcProps.getProperty(key);
|
||||
if ("subviews".equals(key) && jsValue.isArray()) {
|
||||
JSValue[] subviews = jsValue.asArray().toArray();
|
||||
for (JSValue subview : subviews) {
|
||||
JSValue oriSubviews = targetProps.getProperty("subviews");
|
||||
if (oriSubviews.isArray()) {
|
||||
for (JSValue targetSubview : oriSubviews.asArray().toArray()) {
|
||||
if (viewIdIsEqual(subview.asObject(), targetSubview.asObject())) {
|
||||
|
Reference in New Issue
Block a user