Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
比如我输入框输入一个数我想添加进那个数组,但是我想先检查在这个数组里是不是有重复的内容,有的话就不可以添加
@逃离企画 数组不是有可以检测是否包含某个值的条件吗,直接比对一下输入框的当前内容来做分歧就行了吧