update js api

This commit is contained in:
pengfei.zhou
2020-04-22 11:37:43 +08:00
committed by osborn
parent 8214e50f79
commit 229fc41de3
9 changed files with 15 additions and 15 deletions

View File

@@ -247,7 +247,7 @@ public class ListNode extends SuperNode<RecyclerView> implements IDoricScrollabl
if (params.getProperty("animated").isBoolean()) {
animated = params.getProperty("animated").asBoolean().value();
}
JSNumber pos = params.getProperty("pos").asNumber();
JSNumber pos = params.getProperty("index").asNumber();
moveToPosition(pos.toInt(), animated);
}