Uncaught SyntaxError: Invalid or unexpected token

 

原因分析,导入excel数据时换行没有处理,取出数据格式为

  var qcqfyxmo = '杨铁骑
        15198707289';
        var qcqfyxm="";
        if (typeof (qcqfyxmo) != "undefined") {
            qcqfyxm=qcqfyxmo;
        }
        var qcqfylxdho = '杨铁骑
        15198707289';
        var qcqfylxdh="";

把数据处理不换行解决问题:

  var qcqfyxmo = '杨铁骑 15198707289';
上一篇:编写简单的输出“hello”程序编译出错: syntax error near unexpected token `(‘


下一篇:java.net.SocketException: Unexpected end of file from server