diff --git a/src/api/community.js b/src/api/community.js index 7c3899b..96a801b 100644 --- a/src/api/community.js +++ b/src/api/community.js @@ -21,7 +21,7 @@ export function getBuildingList(params) { // 添加新小区 export function createCommunity(data) { return request({ - url: '/api/community/', + url: '/api/community', method: 'post', data }) diff --git a/src/views/community/CommunityList.vue b/src/views/community/CommunityList.vue index 6f24fc3..6778c5f 100644 --- a/src/views/community/CommunityList.vue +++ b/src/views/community/CommunityList.vue @@ -35,6 +35,15 @@ + @@ -81,6 +90,22 @@ v-model="formState.location" label="地址搜索" /> + + + +
+ +
上传
+
+
+
@@ -89,12 +114,12 @@