Elements in iteration expect to have ‘v-bind:key’ directives (vue/require-v-for-key) at src/components/widget/banner-widget.vue:7:9:
搜尽各大神 最后得出原因是eslint检测出现bug
解决方法有两种
v-for 后添加 :key='item'
<li v-for="i in list" :key="i">
在build处关闭eslint检测
...(config.dev.useEslint ? [createLintingRule()] : []),
Mixed spaces and tabs (no-mixed-spaces-and-tabs)
空格和tab键混用了