当我的用户更新他的电子邮件地址时(在ChangeMail屏幕中),我想将他重定向到DrawerNavigator的第一个屏幕:'Exercices'
我不理解此方法。props.navigation在这种情况下有效。
$this->crud->addColumn([
'name' => 'last_promotion',
'type' => 'text',
'label' => 'Rank'
]);
const drawerNavigator = createDrawerNavigator({
Exercices: {
screen: stackNavigator
},
ResetPassword: {
screen: ResetPassword
},
ChangeMail: {
screen: ChangeMail
},
DeleteAccount: {
screen: DeleteAccount
},
Disconnect: {
screen: ExitScreen
}
})
答案 0 :(得分:1)
您的路线名称是char[] mainarg = args[1].dup;
writeln(mixin(mainarg)); // Error: variable args cannot be read at compile time
,但您正在导航到Exercices
Exercice