mirror of
https://github.com/cjango/dcat-vue.git
synced 2025-12-06 14:20:03 +08:00
新增选择组件,一些优化
This commit is contained in:
@@ -80,6 +80,11 @@
|
||||
->disableRegions([440000]) // 禁用一些区划
|
||||
->mapZoom(11); // 地图默认缩放
|
||||
->mapZoom(11, 'zoom') // 记录地图缩放级别
|
||||
|
||||
$form->vSelect('select')
|
||||
->options(['123', '456', 'A' => 'aaa']) // 选项
|
||||
->concatKey('separator') // 显示键
|
||||
->optionsFromKeyValue('kvs'); // 用于结合vKeyValue进行选项选择
|
||||
```
|
||||
|
||||
[comment]: <> (### Donate)
|
||||
|
||||
Reference in New Issue
Block a user