如题,根据单选按钮判断给textfield赋值,alert(this.forshim1.findById("type1").getValue() )
时,类型是Object,没有根据选择的按钮事件而做出赋值,请教下各位,是怎么回事
if (this.form1.findById("type1").getValue() == "1") {
this.form1.findById("deviceNo").setValue(new Date().format("YmdHis"));
} else {
return null;
}