[工作台改版]
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<u-sticky bgColor="#fff" v-if="$Route.query.type != 'synthesis'">
|
||||
<view class="header-sticky">
|
||||
<u-tabs
|
||||
:current="tabsCurrent"
|
||||
:list="tabs"
|
||||
:scrollable="tabScroll"
|
||||
:lineWidth="20"
|
||||
@@ -133,7 +134,8 @@
|
||||
current : 1
|
||||
},
|
||||
pagesShow : false,
|
||||
status : ''
|
||||
status : '',
|
||||
tabsCurrent : null,
|
||||
};
|
||||
},
|
||||
created() {
|
||||
@@ -190,6 +192,10 @@
|
||||
uni.setNavigationBarTitle({
|
||||
title: tabName
|
||||
})
|
||||
|
||||
let { status } = this.$Route.query
|
||||
this.tabType = status
|
||||
this.tabsCurrent = this.tabs.findIndex(val => val.type == status);
|
||||
this.getList()
|
||||
},
|
||||
onShow() {
|
||||
|
||||
Reference in New Issue
Block a user