|
@@ -117,11 +117,10 @@ export default {
|
|
|
const allSearch = searchs.getSearchs();
|
|
|
|
|
|
const sks = Object.keys(allSearch);
|
|
|
-
|
|
|
+ console.log(sks)
|
|
|
let route = this.$route;
|
|
|
for (const item of sks) {
|
|
|
- //|| (!(keys.includes(item)) &&
|
|
|
- if ( keys.includes(allSearch[item].bind)){
|
|
|
+ if (!(keys.includes(item) || keys.includes(allSearch[item].bind))) {
|
|
|
searchs.removeByKey(item);
|
|
|
}
|
|
|
|