indexOf()方法 includes()方法 在越狱的iPhone以及低版本iOS系统的微信小城程序中,会报:arr.includes() is not a function 另外,indexOf()方法做判断时要做好等于 -1 的判断,否则会出问题