@@ -22,7 +22,6 @@
if (cacheManager.get('auth')) {
banbenImpinfo({}).then(res => {
if (res.code == 0) {
- //学过 增加customType = 1 是App级别的
if (res.data.chanpinId != 0) {
if (cacheManager.get('xuexi-shuxue')) {
cacheManager.remove("xuexi-shuxue")
@@ -67,6 +67,11 @@
chanpinId:item.chanpinId,
dengjiId: item.dengjiId
}
+ cacheManager.updateObject("auth",{
+ banbenId:item.id,
+ chanpinId:item.chanpinId,
+ dengjiId:ritem.dengjiId,
+ })
// 跳转
uni.switchTab({
url: "/pages/chanpinneirong/index"