var aa = "364,368,372,384,384,384,404,428,428,432,460,468,500,512";// 目标网址const url = 'http://localhost:3355/boxcox_transform?data=' + aa;// 创建一个新的 XMLHttpRequest 对象const xhr = new XMLHttpRequest();// 设置请求方法和目标 URLxhr.open('GET', url, true);var transformedData = null;// 监听请求状态变化xhr.onreadystatechange = function () { // 当请求状态为完成时 if (xhr.readyState === XMLHttpRequest.DONE) { // 确保请求成功 if (xhr.status === 200) { console.log('Response:', xhr.responseText); // 赋予控件实际值 var aa = xhr.responseText; // 解析JSON字符串 var jsonResponse = JSON.parse(aa); console.log('bbb:::',jsonResponse); // 获取lambda_value var lambdaValue = jsonResponse.lambda_value; // 获取transformed_data数组 transformedData = jsonResponse.transformed_data; console.log('aaa:::',lambdaValue); console.log('cccb:::',transformedData); } else { console.error('Error:', xhr.status, xhr.statusText); } }};// 发送请求xhr.send();setTimeout( 500)console.log("eeee",transformedData)FR.doHyperlinkByPost({ //报表路径 "url":"/webroot/decision/view/report?viewlet=WorkBook2.cpt", //参数 "para":{ "__pi__":true, //是否显示参数面板 "op":"write", "list":transformedData }, "target":"_dialog", //对话框方式打开 "feature":{ "width":1920, "height":1080, "isCenter":true, //是否居中显示 "title":"标题" } })应该怎么改 ,我想要将api获取的值作为参数传递,但是我现在console.log("eeee",transformedData)这个为null