|
@@ -270,7 +270,7 @@
|
|
|
if (key == "/modules/material/materialList") {
|
|
|
localStorage.removeItem("key")
|
|
|
}
|
|
|
- if(key=='/modules/BatchCreate/TouTiaoBatch'){
|
|
|
+ if(key=='/modules/BatchCreate/TouTiaoBatch'&&!(this.linkList.includes('/modules/BatchCreate/newCreate') || this.linkList.includes('/modules/BatchCreate/newPlan') ||this.linkList.includes('/modules/BatchCreate/newGroup') )){
|
|
|
localStorage.setItem('accountInfo','')
|
|
|
localStorage.setItem("groupInfo",'')
|
|
|
localStorage.setItem("planInfo",'')
|
|
@@ -280,18 +280,19 @@
|
|
|
// localStorage.setItem("groupInfo",'')
|
|
|
|
|
|
// }
|
|
|
- if(key=='/modules/BatchCreate/newGroup'&&!this.linkList.includes('/modules/BatchCreate/newPlan')){
|
|
|
-
|
|
|
+ if(key=='/modules/BatchCreate/newGroup'&&!(this.linkList.includes('/modules/BatchCreate/newCreate') || this.linkList.includes('/modules/BatchCreate/newPlan') ||this.linkList.includes('/modules/BatchCreate/TouTiaoBatch') )){
|
|
|
+ console.log('newGroup')
|
|
|
localStorage.setItem('accountInfo','')
|
|
|
localStorage.setItem("groupInfo",'')
|
|
|
}
|
|
|
- if(key=='/modules/BatchCreate/newPlan'&&!this.linkList.includes('/modules/BatchCreate/newCreate')){
|
|
|
- console.log(1)
|
|
|
+ if(key=='/modules/BatchCreate/newPlan'&&!(this.linkList.includes('/modules/BatchCreate/newCreate') || this.linkList.includes('/modules/BatchCreate/newGroup') ||this.linkList.includes('/modules/BatchCreate/TouTiaoBatch') )){
|
|
|
+ console.log('newPlan')
|
|
|
localStorage.setItem('accountInfo','')
|
|
|
localStorage.setItem("groupInfo",'')
|
|
|
localStorage.setItem("planInfo",'')
|
|
|
}
|
|
|
- if(key=='/modules/BatchCreate/newCreate'){
|
|
|
+ if(key=='/modules/BatchCreate/newCreate'&&!(this.linkList.includes('/modules/BatchCreate/TouTiaoBatch') || this.linkList.includes('/modules/BatchCreate/newPlan') ||this.linkList.includes('/modules/BatchCreate/newGroup') )){
|
|
|
+ console.log('newCreate')
|
|
|
localStorage.setItem('accountInfo','')
|
|
|
localStorage.setItem("groupInfo",'')
|
|
|
localStorage.setItem("planInfo",'')
|