引用了Jquery可以用$('#label1').text("");或$('#label1').attr(‘innerText’,’’); 转载于:https://www.cnblogs.com/wllhq/p/4601058.html