<input ... οnclick="if(isNaN(value))execCommand('undo')"/> 转载于:https://blog.51cto.com/9700181/1686464