|
@@ -119,6 +119,12 @@
|
|
|
localStorage.removeItem("advertisingGroup")
|
|
|
localStorage.removeItem("advertisingGroupKey")
|
|
|
}
|
|
|
+ if (!this.linkList.includes("/crossAccount/createCreative")) {
|
|
|
+ localStorage.removeItem("crossAccountUnit")
|
|
|
+ }
|
|
|
+ if (!this.linkList.includes("/crossAccount/createUnit")) {
|
|
|
+ localStorage.removeItem("crossAccountCampaign")
|
|
|
+ }
|
|
|
},
|
|
|
watch: {
|
|
|
'$route': function (newRoute) {
|
|
@@ -164,6 +170,12 @@
|
|
|
localStorage.removeItem("originality")
|
|
|
localStorage.removeItem("originalityKey")
|
|
|
}
|
|
|
+ if (!this.linkList.includes("/crossAccount/createCreative")) {
|
|
|
+ localStorage.removeItem("crossAccountUnit")
|
|
|
+ }
|
|
|
+ if (!this.linkList.includes("/crossAccount/createUnit")) {
|
|
|
+ localStorage.removeItem("crossAccountCampaign")
|
|
|
+ }
|
|
|
},
|
|
|
'activePage': function (key) {
|
|
|
let index = this.linkList.lastIndexOf(key)
|