+
@@ -81,8 +81,13 @@ export default {
return this.$u.toast('请输入发布组织')
}
- if (!this.forms.content) {
- return this.$u.toast('请输入正文')
+ var isContent = false
+ if (this.forms.content || this.forms.images.length > 0) {
+ isContent = true
+ }
+
+ if (!isContent) {
+ return this.$u.toast('请输入正文或图片')
}
const imgs = []
@@ -105,9 +110,9 @@ export default {
if (res.code == 0) {
this.flag = false
this.$u.toast('提交成功')
- uni.$emit('updateList')
- setTimeout(() => {
- uni.navigateBack()
+ uni.$emit('updateList')
+ setTimeout(() => {
+ uni.navigateBack()
}, 600)
}
})
From 4d6ff0db6f74efe899fda05bf0072ac4ff536474 Mon Sep 17 00:00:00 2001
From: aixianling
Date: Fri, 24 Dec 2021 16:19:53 +0800
Subject: [PATCH 2/3] BUG 25965
---
src/apps/AppBuilding/components/searchMap.vue | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/apps/AppBuilding/components/searchMap.vue b/src/apps/AppBuilding/components/searchMap.vue
index 90e8eef7..f2cb6fad 100644
--- a/src/apps/AppBuilding/components/searchMap.vue
+++ b/src/apps/AppBuilding/components/searchMap.vue
@@ -48,11 +48,11 @@
所属网格
- {{detailInfo.community.girdName || ''}}
+ {{ detailInfo.community.girdName || '' }}
网格管理员
- {{detailInfo.build.girdMemberNames || ''}}
+ {{ detailInfo.build.girdMemberNames || '' }}
楼栋长
@@ -85,11 +85,11 @@
所属网格
-
+
网格管理员
-
+
楼栋长
@@ -139,7 +139,7 @@ export default {
this.getCenterLatLng().then(points => {
this.getMarkerCluster(points)
})
- document.title = '以房找人'
+ document.title = '以房找人'
},
created() {
this.$dict.load("communityBuildingType")
From 6345212ffb9e32dbcb85b6201fe5991e30bd31fd Mon Sep 17 00:00:00 2001
From: aixianling
Date: Fri, 24 Dec 2021 16:22:58 +0800
Subject: [PATCH 3/3] BUG 25965
---
src/apps/AppBuilding/components/searchMap.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/apps/AppBuilding/components/searchMap.vue b/src/apps/AppBuilding/components/searchMap.vue
index 34d3cccb..1c7dc1de 100644
--- a/src/apps/AppBuilding/components/searchMap.vue
+++ b/src/apps/AppBuilding/components/searchMap.vue
@@ -85,11 +85,11 @@
所属网格
-
+
网格管理员
-
+
楼栋长