task#10677,tab切的索引记录
This commit is contained in:
@ -66,7 +66,7 @@ export default {
|
||||
},
|
||||
created() {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
this.id = this.$route.params.id || urlParams.get('id');
|
||||
this.id = this.$route.params.id || urlParams.get('id') || this.$route.params.batchCode;
|
||||
},
|
||||
async mounted() {
|
||||
this.activeIndex=this.$route.params?.activeIndex || 0
|
||||
@ -116,6 +116,7 @@ export default {
|
||||
params: {
|
||||
id:id,
|
||||
index:this.activeIndex,
|
||||
batchCode:this.id,
|
||||
}
|
||||
});
|
||||
},
|
||||
@ -172,9 +173,9 @@ export default {
|
||||
.navBar{
|
||||
margin-bottom: 46px;
|
||||
}
|
||||
::v-deep .van-nav-bar__content{
|
||||
/*::v-deep .van-nav-bar__content{
|
||||
background-color: #354683 !important;
|
||||
}
|
||||
}*/
|
||||
.tab_wrap {
|
||||
@include fontWeightSize(500, 14px);
|
||||
@include flexColAround();
|
||||
|
Reference in New Issue
Block a user