我希望从AsyncStorage中获取项,然后将其传递给组件,但出于某种原因,它首先传递param,然后完成getData()import React from 'react';import AsyncStorage from '@react-native-async-storage/async-storage'
我已经看过了asyncStorage上的文档,但不明白为什么它不保存我的数据。我使用的是Laravel for API和Vue native(react-native的包装器)。当用户注册时,我传递以这种方式生成的令牌 import AsyncStorage from '@react-native-async-storage/async-storage';handleRegisterconsole.log(res