We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$cuData全局数据在B页面修改了数据,当返回A页面的时候修改的数据丢失了。 应该如何正确的使用$cuData呢?
B页面部分代码 that.data.$cuData.userInfo = reUserInfo.response; // 返回用户信息并赋值到$cuData console.log(that.data.$cuData.userInfo) // 这里输出是有值的
A页面部分代码 console.log(that.data.$cuData.userInfo) // 这里输出userInfo为null
The text was updated successfully, but these errors were encountered:
我晚上看看
Sorry, something went wrong.
No branches or pull requests
$cuData全局数据在B页面修改了数据,当返回A页面的时候修改的数据丢失了。
应该如何正确的使用$cuData呢?
B页面部分代码
that.data.$cuData.userInfo = reUserInfo.response; // 返回用户信息并赋值到$cuData
console.log(that.data.$cuData.userInfo) // 这里输出是有值的
A页面部分代码
console.log(that.data.$cuData.userInfo) // 这里输出userInfo为null
The text was updated successfully, but these errors were encountered: