npm run dev 出现下面的情况是什么问题?
WARNING in ./~/.11.3.4@vue-loader/lib/template-compiler?{"id":"data-v-051c624c"}!./~/.11.3.4@vue-loader/lib/selector.js?type=template&index=0!./resources/assets/backend/js/components
/pager/other/setting.vue
(Emitted value instead of an instance of Error)
这个只是警告信息,不影响正常使用。 具体原因是:这是因为写了 v-for 指令,然后没写 key 报出的警告,不影响渲染结果,根据官方的文档的解释: list.html#key Language ZH-CN list.html#key Language EN
key 属性可以用来优化列表重排速度。
好的,谢了