@@ -91,8 +91,13 @@ export default {
}
},
pageSubTo(item, index) {
- this.subIndex = index;
- this.$router.push(item.path);
+ if(index==0){
+ this.$router.push('/item-class/1');
+ }
+ this.subIndex = index;
+ this.$nextTick(()=>{
+ this.$router.push(item.path);
+ })
};