Skip to content

Commit

Permalink
修复:iOS的ClosePageTo方法逻辑错误
Browse files Browse the repository at this point in the history
  • Loading branch information
xztl committed Sep 13, 2020
1 parent a35d21f commit 2099d09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ - (void)closePageTo:(id)params weexInstance:(WXSDKInstance*)weexInstance
isClose = YES;
}
}
if (!isRemove) {
if (!isRemove || i + 1 == array.count) {
[newArray addObject:array[i]];
}
}
Expand Down

1 comment on commit 2099d09

@CoderQifly
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你好,请问你也遇到了closePageTo无法关闭指定界面的情况吗

Please sign in to comment.