mirror of
https://gitee.com/layui/layui.git
synced 2025-12-27 06:35:47 +08:00
优化 input 输入框组件的禁用状态
This commit is contained in:
@@ -277,6 +277,7 @@ layui.define(['lay', 'layer', 'util'], function(exports){
|
||||
value: ['up', 'down'],
|
||||
split: true,
|
||||
className: 'layui-input-number',
|
||||
disabled: disabled, // 跟随输入框禁用状态
|
||||
click: function(elem){
|
||||
var index = $(this).index();
|
||||
var value = elem.val();
|
||||
|
||||
Reference in New Issue
Block a user