如果你像我一样使用了路由监听例如:
navigation.isFocused = () => {
if (xxx) {
// ...
}
};
那么恭喜你只要在操作结尾加上return true即可解决这一问题
navigation.isFocused = () => {
if (xxx) {
// ...
}
return true;
};
如果你像我一样使用了路由监听例如:
navigation.isFocused = () => {
if (xxx) {
// ...
}
};
那么恭喜你只要在操作结尾加上return true即可解决这一问题
navigation.isFocused = () => {
if (xxx) {
// ...
}
return true;
};