From 3ef3e016a83d60eab7571ce012943ba284684f4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=92=E8=BE=89?= <66730036+QingHui1229@users.noreply.github.com> Date: Fri, 24 Nov 2023 16:52:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20location-picker-editor=20=E5=9C=B0?= =?UTF-8?q?=E5=9B=BEak=E6=94=AF=E6=8C=81=E5=8F=98=E9=87=8F=E6=98=A0?= =?UTF-8?q?=E5=B0=84=20(#8881)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: jiangchunhui --- packages/amis-editor/src/plugin/Form/LocationPicker.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/amis-editor/src/plugin/Form/LocationPicker.tsx b/packages/amis-editor/src/plugin/Form/LocationPicker.tsx index e202c2d3b..0ae25154d 100644 --- a/packages/amis-editor/src/plugin/Form/LocationPicker.tsx +++ b/packages/amis-editor/src/plugin/Form/LocationPicker.tsx @@ -126,8 +126,7 @@ export class LocationControlPlugin extends BasePlugin { rendererSchema: context?.schema, }), */ - { - type: 'input-text', + getSchemaTpl('formulaControl', { name: 'ak', label: '百度地图的 AK', required: true, @@ -137,7 +136,7 @@ export class LocationControlPlugin extends BasePlugin { }, description: '请从百度地图开放平台获取' - }, + }), { type: 'select', name: 'coordinatesType',