mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 18:26:38 +08:00
Merged and product list bug fixed
This commit is contained in:
parent
f2689a6e5f
commit
64d4b856c0
@ -321,7 +321,7 @@ export default {
|
|||||||
value: "",
|
value: "",
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
userstype: [],
|
userstype: [],
|
||||||
activeIndex: 0,
|
activeIndex: "0",
|
||||||
allacindex: 0,
|
allacindex: 0,
|
||||||
userishwo: true,
|
userishwo: true,
|
||||||
userishwo4: true,
|
userishwo4: true,
|
||||||
@ -477,16 +477,13 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.routeParams=this.$route.query;
|
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() {
|
mounted() {
|
||||||
|
let stype = this.routeParams.stype;
|
||||||
|
stype = (stype=='1'?1:0);
|
||||||
|
if(stype>-1){
|
||||||
|
this.activeIndex = stype;//Initialized pet type selection
|
||||||
|
}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.userstandard[0].style.margin = 0 + "px";
|
this.$refs.userstandard[0].style.margin = 0 + "px";
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user