From 295b294aff9a0667819b8f4ddaf9a9a721ea2ee1 Mon Sep 17 00:00:00 2001 From: aixianling Date: Tue, 30 Nov 2021 11:39:01 +0800 Subject: [PATCH] BUG 25114 --- src/apps/AppInterview/AppInterview.vue | 16 ++++++++-------- src/apps/AppInterview/interviewDetail.vue | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/apps/AppInterview/AppInterview.vue b/src/apps/AppInterview/AppInterview.vue index 4e921461..9ad61b4a 100644 --- a/src/apps/AppInterview/AppInterview.vue +++ b/src/apps/AppInterview/AppInterview.vue @@ -71,15 +71,15 @@ export default { return this.$route.hash == "#add" } }, - onShow() { - this.current = 1; - this.getList() - }, - onReachBottom() { - this.current++; - this.getList() - }, methods: { + emitShow() { + this.current = 1; + this.getList() + }, + emitReachBottom() { + this.current++; + this.getList() + }, getList() { this.$http.post('/app/appinterview/list-xcx', null, { params: { diff --git a/src/apps/AppInterview/interviewDetail.vue b/src/apps/AppInterview/interviewDetail.vue index 5219094c..a71b6616 100644 --- a/src/apps/AppInterview/interviewDetail.vue +++ b/src/apps/AppInterview/interviewDetail.vue @@ -45,7 +45,7 @@ export default { computed: { isEdit() { let flag = this.$route.query?.detail != 1 - !flag && uni.setNavigationBarTitle({title: "走访详情"}) + document.title = flag ? "新增走访" : "走访详情" return flag }, rules() {