返回值类型为String,使用 JSON.parse(val)方法的前提是val值为JSON字符串。 SyntaxError: Unexpected end of JSON input_wuyujin1997的博客-优快云博客