优化 input 输入框组件的禁用状态

pull/1299/head
贤心 1 year ago
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…
Cancel
Save