js里面写了 $('#xxx').on('click', function () { $('#c-name').removeAttr("data-rule"); }); 页面源码上的data-rule也确实移除了,但是提交时还是无法通过验证