按照以下代码写时,点击导出excel按钮报错:CustomJSError : “JSON”未定义。为啥子?var url = '/WebReport/ReportServer?reportlets=';var pars = '&format=excel&extype=sheet&isExcel2003=true&__filename__=测试';var path = "${reportName}";var json = ;for (var i = 0; i < area.length; i++) {var sheet = {reportlet: path,"地区": area};json.push(sheet);}alert("json转换前:"+json);alert("json转换后:"+JSON.stringify(json));url += JSON.stringify(json);url += pars;alert(url);//window.open(FR.cjkEncode(url));