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}}