请说明白点,不是很理解你说的。 如果只是单纯的拼接字符串的话,JS用加号+符实现拼接: var str = 'abc';var str2 = 'def';var str3 = str+str2;//abcdef