|
@@ -69,7 +69,8 @@ export default {
|
|
|
activeName: null,
|
|
|
icon: require('../../assets/jh.png'),
|
|
|
code: null,
|
|
|
- thumbnail: require('../../assets/newimg.jpg')
|
|
|
+ thumbnail: require('../../assets/newimg.jpg'),
|
|
|
+ issetactive: true
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -113,7 +114,8 @@ export default {
|
|
|
},
|
|
|
watch: {
|
|
|
data(e) {
|
|
|
- if (e.length <= 0 && this.activeName == this.tabsList[0]?.code) this.setactive(1);
|
|
|
+ if (e.length <= 0 && this.activeName == this.tabsList[0]?.code && this.issetactive) this.setactive(1);
|
|
|
+ this.issetactive = false;
|
|
|
}
|
|
|
}
|
|
|
};
|