From 61f310382475c98444e763320a58808de9e9b895 Mon Sep 17 00:00:00 2001 From: "autumn.g@foxmail.com" Date: Fri, 28 Apr 2023 15:04:45 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/MapContainer/MapContainer.vue | 34 ++------------- .../pile/station/components/SiteInfo.vue | 41 +++++++++++++++++-- 2 files changed, 41 insertions(+), 34 deletions(-) diff --git a/jsowell-ui/src/components/MapContainer/MapContainer.vue b/jsowell-ui/src/components/MapContainer/MapContainer.vue index 2c8a8100e..9c158b16e 100644 --- a/jsowell-ui/src/components/MapContainer/MapContainer.vue +++ b/jsowell-ui/src/components/MapContainer/MapContainer.vue @@ -17,20 +17,7 @@
-
上传图片
- - - - - - + @@ -77,26 +64,11 @@ export default { placeSearch: "", stationId: this.$route.params.id, avatar: "", - headers: { - Authorization: "Bearer " + getToken() - }, - imageUrl: null + }; }, methods: { - handleSuccess(res, file) { - this.imageUrl = URL.createObjectURL(file.raw); - console.log("图片上传成功 url:", this.imageUrl); - console.log("图片上传成功 res:", res); - }, - handleRemove(file, fileList) { - console.log(file, fileList); - }, - handlePictureCardPreview(file) { - this.dialogImageUrl = file.url; - console.log(this.dialogImageUrl) - this.dialogVisible = true; - }, + // 点击搜索按钮 send() { this.searchPlaceInput = this.inputObject.userInput; diff --git a/jsowell-ui/src/views/pile/station/components/SiteInfo.vue b/jsowell-ui/src/views/pile/station/components/SiteInfo.vue index 9594b2e92..49589df48 100644 --- a/jsowell-ui/src/views/pile/station/components/SiteInfo.vue +++ b/jsowell-ui/src/views/pile/station/components/SiteInfo.vue @@ -1,5 +1,19 @@