BUG 25359
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -43,7 +43,10 @@ export default {
|
||||
if (!!this.image) {
|
||||
uni.previewImage({
|
||||
current: this.image,
|
||||
urls: [this.image]
|
||||
urls: [this.image],
|
||||
success() {
|
||||
sessionStorage.setItem("previewImage"," 1")
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.previewFile({size: 1, ...this.file})
|
||||
|
||||
Reference in New Issue
Block a user