实在是不知道怎么形容这个问题,标题可能不准确,具体如图:
arr 是下标或者属性名吗data.arr.toLowerCase()改成data[arr].toLowerCase()如有帮助,望采纳!谢谢!
arr是索引吗?改为data[arr]。