mirror of https://github.com/layui/layui
优化 input 输入框组件的禁用状态
parent
b50e22dd01
commit
7ea407236d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue