|
@@ -75,7 +75,7 @@ export default {
|
|
|
classOption() {
|
|
|
return {
|
|
|
singleHeight: 43,
|
|
|
- autoPlay: this.qx === "重庆市",
|
|
|
+ autoPlay: this.qx === "重庆市" && this.list.length >= 10,
|
|
|
};
|
|
|
},
|
|
|
},
|
|
@@ -93,11 +93,15 @@ export default {
|
|
|
methods: {
|
|
|
change(idx) {
|
|
|
if (this.checked !== idx) {
|
|
|
+ this.reload = false
|
|
|
this.checked = idx;
|
|
|
let tempData = this.originData.filter(
|
|
|
(item) => item.fxdj === this.type[idx]
|
|
|
);
|
|
|
this.list = toFirst(tempData, this.qx, "qy");
|
|
|
+ setTimeout(() => {
|
|
|
+ this.reload = true
|
|
|
+ }, 200)
|
|
|
// this.$emit('selectData', tempData)
|
|
|
}
|
|
|
},
|