|
@@ -279,23 +279,24 @@ var vNode = {
|
|
|
// 重置过滤器值
|
|
|
resetSelector () {
|
|
|
if(this.$refs.dateDropdownRef) {
|
|
|
- if(this.$refs.dateSelector) {
|
|
|
- this.$refs.dateSelector.setState({exact: 'all'})
|
|
|
- this.$refs.dateSelector.resetAll()
|
|
|
- }
|
|
|
- this.$refs.dateDropdownRef.toggle(false)
|
|
|
+ if(this.$refs.dateSelector) {
|
|
|
+ this.$refs.dateSelector.setState({exact: 'all'})
|
|
|
+ this.$refs.dateSelector.resetAll()
|
|
|
+ }
|
|
|
+ this.$refs.dateDropdownRef.toggle(false)
|
|
|
}
|
|
|
if(this.$refs.areaDropdownRef) {
|
|
|
- this.$refs.areaDropdownRef.toggle(false)
|
|
|
- if(this.$refs.areaSelector) {
|
|
|
- this.$refs.areaSelector.backSelectedArea()
|
|
|
- }
|
|
|
+ this.$refs.areaDropdownRef.toggle(false)
|
|
|
+ if(this.$refs.areaSelector) {
|
|
|
+ this.$refs.areaSelector.backSelectedArea()
|
|
|
+ }
|
|
|
}
|
|
|
if(this.$refs.priceDropdownRef) {
|
|
|
- this.$refs.priceDropdownRef.toggle(false)
|
|
|
- if(this.$refs.priceSelector) {
|
|
|
- this.$refs.priceSelector.resetAll()
|
|
|
- }
|
|
|
+ this.$refs.priceDropdownRef.toggle(false)
|
|
|
+ if(this.$refs.moneySelector) {
|
|
|
+ this.$refs.moneySelector.resetAll()
|
|
|
+ this.filters.price = ''
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
tabChange(val) {
|