wangguoyu 1 month ago
parent
commit
a4843e011b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pages/chanpinneirong/index.vue

+ 2 - 2
pages/chanpinneirong/index.vue

@@ -127,7 +127,7 @@ import { toast } from '../../utils/common';
 				this.banbenId = cacheManager.get('auth').banbenId
 				//用于返回
 				this.dengjiId = cacheManager.get('auth').dengjiId
-				this.cacheManagerLocal = cacheManager.get('xuexi-' + this.chanpinId)
+				this.cacheManagerLocal = cacheManager.get('xuexi-shuxue')
 				// 使用缓存
 				this.danyuanInfo = this.cacheManagerLocal
 				this.curProcess = this.cacheManagerLocal.curProcess
@@ -192,7 +192,7 @@ import { toast } from '../../utils/common';
 						console.log('未完成项目:', result.firstUncompleted);
 					}
 					console.log('this.curWanchengStatus', this.curWanchengStatus);
-					cacheManager.set('xuexi-' + this.chanpinId, res.data)
+					cacheManager.set('xuexi-shuxue', res.data)
 					cacheManager.updateObject('auth', {
 						chanpinId: this.chanpinId,
 						banbenId: this.banbenId,