|
@@ -90,10 +90,19 @@ export default {
|
|
|
const searchs = new Searchs();
|
|
|
const allSearch = searchs.getSearchs();
|
|
|
const sks = Object.keys(allSearch);
|
|
|
+ let route = this.$route
|
|
|
for (const item of sks) {
|
|
|
if (!(keys.includes(item) || keys.includes(allSearch[item].bind))) {
|
|
|
searchs.removeByKey(item);
|
|
|
}
|
|
|
+
|
|
|
+ let tempSaveKeyList = item.split('|')
|
|
|
+ // 大于1说明的特殊标识编号
|
|
|
+ if(tempSaveKeyList.length > 1) {
|
|
|
+ if(allSearch[item] && route.path == allSearch[item].bind && route.query[tempSaveKeyList[1]] != tempSaveKeyList[2]) {
|
|
|
+ searchs.removeByKey(item);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
async addViewTags() {
|