1
0
mirror of https://github.com/cjango/dcat-vue.git synced 2025-12-06 22:40:03 +08:00

new! number component

This commit is contained in:
weiwait
2023-02-13 15:44:37 +08:00
parent d2d6de22f9
commit 36b5f04108
5 changed files with 679 additions and 546 deletions

View File

@@ -99,6 +99,15 @@
->options(['123', '456', 'A' => 'aaa']) // 选项
->concatKey('separator') // 显示键
->optionsFromKeyValue('kvs'); // 用于结合vKeyValue进行选项选择
$form->vNumber('number', '数字')
->prepend('$') // 前缀
->prepend('p') // 后缀
->bothButton() // 按钮位置分离到两端
->step(2) // 步进
->min(2) // 最小值
->max(88) // 最大值
->precision(2); // 开启小数,精度
```
##### 登录验证码