错误:CustomJSError : Cannot read property 'getWidgetByName' of undefined代码:var userName= "cw_user";var pwd= "cw_12323";var b=_g().parameterEl.getWidgetByName("b").getValue();var c=_g().parameterEl.getWidgetByName("c").getValue();FR.ajax({url: "http://192.168.1.183:8048/rpt/login", data:{ userName:userName, pwd:pwd },async:false,dataType:"jsonp",success: function(data,textStatus) {var token = data.token;FR.ajax({url:"http://192.168.1.183:8048/rpt/updateAmt", data:{fid:b,token:token,amt:c },async:false,dataType:"jsonp",success: function(data,textStatus) {FR.Msg.alert("通知1",data.msg);},error:function(XMLHttpRequest, textStatus, errorThrown){ }, complete: function(res,textStatus){ } });},error:function(XMLHttpRequest, textStatus, errorThrown){ }, complete: function(res,textStatus){ } });