是由于eslint检测出现bug
解决方法有两种
- v-for 后添加 :key='item'
<li v-for="item in list" :key="item">
- 在build处关闭eslint检测
...(config.dev.useEslint ? [createLintingRule()] : []),
是由于eslint检测出现bug
解决方法有两种
<li v-for="item in list" :key="item">
...(config.dev.useEslint ? [createLintingRule()] : []),