代办,历史
This commit is contained in:
@@ -35,6 +35,12 @@ export default {
|
|||||||
text: '待办',
|
text: '待办',
|
||||||
component: 'List',
|
component: 'List',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
img: require('./components/img/handle-icon.png'),
|
||||||
|
activeImg: require('./components/img/handle-icon-active.png'),
|
||||||
|
text: '历史',
|
||||||
|
component: 'List',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
img: require('./components/img/statistics-icon.png'),
|
img: require('./components/img/statistics-icon.png'),
|
||||||
activeImg: require('./components/img/statistics-icon-active.png'),
|
activeImg: require('./components/img/statistics-icon-active.png'),
|
||||||
@@ -79,12 +85,12 @@ export default {
|
|||||||
uni.$on('showTab', () => {
|
uni.$on('showTab', () => {
|
||||||
this.isTab = true
|
this.isTab = true
|
||||||
})
|
})
|
||||||
if (!this.tabIndex) {
|
if (this.tabIndex != 2) {
|
||||||
this.$nextTick(() => this.$refs['List'].getListInit())
|
this.$nextTick(() => this.$refs['List'].getListInit())
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
if (!this.tabIndex) {
|
if (this.tabIndex != 2) {
|
||||||
this.$nextTick(() => this.$refs['List'].nextPage())
|
this.$nextTick(() => this.$refs['List'].nextPage())
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user