onclick 绑定在 input上不生效 2020-03-15 本文已影响0人 DD_Dog 如果input的name和onclick属性名字相同,那么会识别不出对应的方法,所以要保证name和onclick属性不同。