代办,历史

This commit is contained in:
liuye
2024-08-15 09:20:49 +08:00
parent 3d41c2b7ec
commit aac3fe97c4

View File

@@ -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())
} }
}, },