vue.runtime.esm.js?2b0e:619 [Vue warn]: Duplicate keys detected: ‘tab-item‘. This may cause an updat
vue.runtime.esm.js?2b0e:619 [Vue warn]: Duplicate keys detected: ‘tab-item’. This may cause an update error.<el-tabs v-model="activeName" @tab-click="handleClick"><el-tab-pane v-for="(item,in
·
vue.runtime.esm.js?2b0e:619 [Vue warn]: Duplicate keys detected: ‘tab-item’. This may cause an update error.
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane v-for="(item,index) in recentTags" :key="'recent' + index" label="item" name="item">{{item}}</el-tab-pane>
</el-tabs>
问题解决
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane v-for="(item,index) in recentTags" :key="'recent' + index" :label="item" :name="item">{{item}}</el-tab-pane>
</el-tabs>
…好无语啊
更多推荐
已为社区贡献5条内容
所有评论(0)