This commit is contained in:
yanran200730
2022-02-10 16:55:33 +08:00
parent 567a0ba434
commit 2ea4771df4
2 changed files with 3 additions and 4 deletions

View File

@@ -156,11 +156,9 @@ export default {
})
},
mounted() {},
methods: {
getListinfo() {
return this.instance.post(`/app/appcommunityinfo/queryCommunityTree?id=${this.user.info?.areaId}`).then((res) => {
this.instance.post(`/app/appcommunityinfo/queryCommunityTree?id=${this.user.info.areaId}`).then((res) => {
if (res.data) {
this.treeData = [res.data]
this.$nextTick(() => {
@@ -232,6 +230,7 @@ export default {
},
handleSelectGrid(data) {
console.log(data)
this.isAdd = false
if (data.type == 1) {
this.isAdd = true