This commit is contained in:
liuye
2023-08-25 16:27:58 +08:00
parent 4db8366aec
commit b627e05395
2 changed files with 2 additions and 6 deletions

View File

@@ -79,11 +79,9 @@ export default {
uni.$on('showTab', () => { uni.$on('showTab', () => {
this.isTab = true this.isTab = true
}) })
uni.$on('getListInit', () => { if (!this.tabIndex) {
this.$nextTick(() => this.$refs['List'].getListInit())
})
this.$nextTick(() => this.$refs['List'].getListInit()) this.$nextTick(() => this.$refs['List'].getListInit())
}
}, },
onReachBottom() { onReachBottom() {
if (!this.tabIndex) { if (!this.tabIndex) {

View File

@@ -170,10 +170,8 @@ export default {
}, },
getIsAdd() { getIsAdd() {
console.log(123)
this.$http.post(`/app/apppatrolreportinfo/checkGirdMemberUser`).then((res) => { this.$http.post(`/app/apppatrolreportinfo/checkGirdMemberUser`).then((res) => {
if (res.code == 0) { if (res.code == 0) {
console.log(res.data)
this.isAdd = res.data this.isAdd = res.data
} }
}) })