Javascript 将主页设置为不在选项卡中的屏幕。Wix V2
我一直在尝试学习react,并且一直在使用Wix导航 我希望用户登陆的第一个屏幕不在底部选项卡选择中 他们将登陆Screen0,并能够从选项卡导航到Screen1和Screen2 所以我的问题是,如何将登录屏幕设置为不在底部选项卡中的be屏幕Javascript 将主页设置为不在选项卡中的屏幕。Wix V2,javascript,reactjs,navigation,wix-react-native-navigation,Javascript,Reactjs,Navigation,Wix React Native Navigation,我一直在尝试学习react,并且一直在使用Wix导航 我希望用户登陆的第一个屏幕不在底部选项卡选择中 他们将登陆Screen0,并能够从选项卡导航到Screen1和Screen2 所以我的问题是,如何将登录屏幕设置为不在底部选项卡中的be屏幕 Navigation.setRoot({ root: { bottomTabs: { children: [ { stack: { children: [{
Navigation.setRoot({
root: {
bottomTabs: {
children: [
{
stack: {
children: [{
component: {
name: "Screen1",
},
}],
options: {
bottomTab: {
text: 'Screen1',
icon: require('../assets/icons/Screen1.png')
}
}
}
},
{
stack: {
children: [{
component: {
name: "Screen2",
},
}],
options: {
bottomTab: {
text: 'Screen2',
icon: require('../assets/icons/Screen2.png')
}
}
}
}
]
}
}
})