From 2b8a557cebbef662547811494880714e36acac8f Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 13 May 2021 15:58:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E5=BA=97=E9=93=BA=E7=9A=84=E5=BA=A7?= =?UTF-8?q?=E6=A0=87=E5=90=88=E6=88=90=E4=B8=80=E4=B8=AA=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/types.d.ts | 3 ++- src/views/shop/edit.vue | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/api/types.d.ts b/src/api/types.d.ts index d534fb7..2c93827 100644 --- a/src/api/types.d.ts +++ b/src/api/types.d.ts @@ -26,6 +26,7 @@ export interface IShopData { lat?: number showName?: string extData?: string - category?: string, + category?: string qtypes: string[] + location?: number[] } diff --git a/src/views/shop/edit.vue b/src/views/shop/edit.vue index 0b9a8df..7778e78 100644 --- a/src/views/shop/edit.vue +++ b/src/views/shop/edit.vue @@ -73,7 +73,7 @@ label="座标点" prop="lng" > - {{postForm.lat}} - {{postForm.lng}} + {{postForm.location}}