element
element copied to clipboard
el-upload 组件报 [Vue warn] (Vue 2.1.8)
info
[Vue warn]: existing instance property "headers" will be overwritten by a computed property with the same name. (found in component
) [Vue warn]: existing instance property "headers" will be overwritten by a computed property with the same name. (found in component )
Vue 2.1.8
element-ui 1.1.2
不是element的问题,Vue warn报的就是问题所在呀
ops, 原本以为是element里面的变量名冲突,看了下源码没发现这个问题, 然后突然想到我有一个全局mix. 里面包含了一个 headers 的计算属性。:)