input设置disable后无法触发点击事件

解决方法:在input标签外面添加一个父标签,将事件挂载到父标签上,通过冒泡来触发

posted @ 2021-01-04 10:40  铽楉QAQ  阅读(3219)  评论(0)    收藏  举报