更新时间:2023-02-22 13:57:45
没有任何更多信息,该错误就很明显.您正在尝试获取名为 navigation
的内容属性.但是,在这种情况下,它是未定义的或不可访问的.
Without any futher informations, the error is clear. You're trying to get a property of your content called navigation
. But, in this context, it's not defined or not accessible.
要获取属性的内容,请确保在您的内容中清楚地定义了该属性,并且可以在函数内部对其进行访问.
然后,您应该可以使用与您的财产相关的函数 navigate('LoginScreen')
.
To get the content of your property, make sure it's defined clearly in your content and accessible inside of your function .
Then you should be able to use the function navigate('LoginScreen')
related to your property.