传字符串参数时,除了和数字一样要加引号外,还要加(\` `\)。 onclick="money(\''+account+'\',\''+user+'\','+data.Type+','+data.id+')">