如果
这个就只有true或者false两种状态,当前是true改变前就是false
改变后的值取反,就是改变前的值
//改变前的值
var a=!this.getValue();
全选test.rar
----------------参考文件--------------