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