mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 19:38:16 +08:00
fix(amis-editor): 地理位置选择器细节调整
This commit is contained in:
parent
747519b371
commit
d97d4122d4
@ -165,7 +165,7 @@ export class LocationControlPlugin extends BasePlugin {
|
||||
),
|
||||
size: 'lg',
|
||||
mode: 'horizontal',
|
||||
required: true,
|
||||
// required: true, // 默认值不建议必填
|
||||
placeholder: '请输入变量值'
|
||||
}),
|
||||
getSchemaTpl('switch', {
|
||||
@ -178,8 +178,8 @@ export class LocationControlPlugin extends BasePlugin {
|
||||
getSchemaTpl('switch', {
|
||||
name: 'onlySelectCurrentLoc',
|
||||
label: tipedLabel(
|
||||
'只读模式',
|
||||
'开启后,只能使用当前地理位置,不可选择其他地理位置'
|
||||
'限制模式',
|
||||
'开启后,限制只能使用当前地理位置,不可选择其他地理位置'
|
||||
)
|
||||
}),
|
||||
getSchemaTpl('clearable'),
|
||||
|
Loading…
Reference in New Issue
Block a user