react navigation in react native, with conditional stack, and authentication
问题 import React, { Component } from 'react' import { Container, Content, Form, Item, Input, Label, Button,Text, Icon} from 'native-base' import AsyncStorage from '@react-native-community/async-storage'; import authStore from '../store/authStore'; export default class Login extends Component { constructor(props){ super(props); this.state={ email:'', password:'' } } handleLogin = async () =>{ let requestObject = { email: this.state.email, password: this.state.password } authStore.userLogin