uniapp 点击遍历数据获取item为undefined 54j 2020-07-30 525 阅读1分钟 这个问题是v-for循环时key值不存在为undefined,在小程序运行环境中会为undefined,只要给key赋值一个唯一且存在的值就行了