BUG 25359

This commit is contained in:
aixianling
2021-12-10 18:03:07 +08:00
parent 9b15c1e30a
commit 38a4c9fbf2
3 changed files with 7 additions and 6 deletions

View File

@@ -73,9 +73,9 @@ export default {
},
methods: {
emitShow() {
document.title = document.title || "调查走访"
document.title = "调查走访"
if (this.showDetail) {
document.title = this.$route.query.detail ? "走访详情" : "新增走访"
} else {
this.current = 1;
this.getList()

View File

@@ -44,9 +44,7 @@ export default {
inject: {root: {}},
computed: {
isEdit() {
let flag = this.$route.query?.detail != 1
document.title = flag ? "新增走访" : "走访详情"
return flag
return this.$route.query?.detail != 1
}
},
data() {