Merged and product list bug fixed

This commit is contained in:
Vion 2022-01-21 22:16:11 +08:00
parent f2689a6e5f
commit 64d4b856c0

View File

@ -321,7 +321,7 @@ export default {
value: "",
isLoading: false,
userstype: [],
activeIndex: 0,
activeIndex: "0",
allacindex: 0,
userishwo: true,
userishwo4: true,
@ -477,16 +477,13 @@ export default {
},
created() {
this.routeParams=this.$route.query;
let stype = this.routeParams.stype;
stype = (stype=='0'?0:1);
if(stype>-1){
this.activeIndex = this.routeParams.stype;//Initialized pet type selection
}
},
mounted() {
let stype = this.routeParams.stype;
stype = (stype=='1'?1:0);
if(stype>-1){
this.activeIndex = stype;//Initialized pet type selection
}
this.$nextTick(() => {
this.$refs.userstandard[0].style.margin = 0 + "px";
});