乐正凌2022-03-24 12:56:53
<button type="button" class="layui-btn " id="sendSmsBtn" onclick="save()">存</button>
JS方法寫
點擊後
$('#sendSmsBtn').addClass("layui-btn-disabled").attr("disabled",true);
#回調後
$('#sendSmsBtn').removeClass("layui-btn-disabled").attr("disabled",false);
#