|
@@ -115,15 +115,13 @@ export default {
|
|
|
);
|
|
|
const searchs = new Searchs();
|
|
|
const allSearch = searchs.getSearchs();
|
|
|
- console.log(allSearch)
|
|
|
+
|
|
|
const sks = Object.keys(allSearch);
|
|
|
|
|
|
let route = this.$route;
|
|
|
for (const item of sks) {
|
|
|
- console.log(keys,item)
|
|
|
- console.log( allSearch[item].bind)
|
|
|
- if (!(keys.includes(item) || keys.includes(allSearch[item].bind))) {
|
|
|
- console.log(item,'删除前')
|
|
|
+ //|| (!(keys.includes(item)) &&
|
|
|
+ if ( keys.includes(allSearch[item].bind)){
|
|
|
searchs.removeByKey(item);
|
|
|
}
|
|
|
|