?
1、不使用绑定
2、使用如下代码
?
//初始化规则因素组件库信息 ruleFacObjectDetailAction.qryRuleFacObject(param,function(result:Object):void { if(result) { ruleFacObjectObj = result.RULE_FAC_OBJECT_LIST[0]; callLater(function():void { txtSQL.text = ruleFacObjectObj.SQL; }); //根据取值类型展示或者隐藏取值信息 switch(ruleFacObjectObj.SERVICE_TYPE) { case "S": visiableSQL = true; visiableServiceName = false; break; case "O": visiableSQL = false; visiableServiceName = true; break; default: visiableSQL = false; visiableServiceName = false; break; } } });?
?