要实现此功能,只需要更改按钮的default属性,设置为true就OK了。 转载于:https://www.cnblogs.com/Susie2012/archive/2012/12/06/2805303.html