Commit 98bc160d authored by jingnan's avatar jingnan 👀

首页左侧任务默认展示单个页签

parent 4c63044d
......@@ -117,8 +117,8 @@ export default {
computed: {
tabs() {
return this.activeTitle === '我的待办' ? [
{ id: '批量签审', name: '批量签审' },
{ id: this.activeTitle, name: '单个签审' }
{ id: this.activeTitle, name: '单个签审' },
{ id: '批量签审', name: '批量签审' }
] : [{ id: this.activeTitle, name: this.activeTitle }]
}
},
......@@ -128,6 +128,7 @@ export default {
this.getMessageInfo()
},
mounted() {
this.tabClick({ label: '单个签审' })
},
methods: {
tabClick(val) {
......@@ -158,6 +159,8 @@ export default {
path: '/dee-message/message/home'
}
})
} else {
this.tabClick({ label: '单个签审' })
}
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment