|
@@ -81,6 +81,12 @@ export default {
|
|
|
mounted() {
|
|
|
console.log(this.activeItems)
|
|
|
},
|
|
|
+ watch: {
|
|
|
+ $route() {
|
|
|
+ this.$emit('setTimeForSearch')
|
|
|
+ this.$emit('reload', this.show)
|
|
|
+ },
|
|
|
+ },
|
|
|
methods: {
|
|
|
desced(item) {
|
|
|
return item.name ? `仅显示: ${item.name}` : this.desc
|
|
@@ -101,7 +107,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
this.$emit('setTimeForSearch')
|
|
|
- this.$emit('reload', true)
|
|
|
+ // this.$emit('reload', true)
|
|
|
}
|
|
|
},
|
|
|
close() {
|
|
@@ -117,7 +123,7 @@ export default {
|
|
|
...keys
|
|
|
}
|
|
|
})
|
|
|
- this.$emit('reload')
|
|
|
+ // this.$emit('reload')
|
|
|
}
|
|
|
}
|
|
|
}
|