Property or method "index" is not defined

来源:16-15 详情弹层页(6)- header剩余组件实现(上)

小桃仁儿

2017-12-31

{seller.supports[index].description}


vue.esm.js?efeb:576 [Vue warn]: Property or method "index" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.


found in


---> <VHeader> at src/components/header/header.vue

       <App> at src/App.vue

         <Root>

http://img.mukewang.com/szimg/5a48e49f0001880211500216.jpg

http://img.mukewang.com/szimg/5a48e49f0001a03410140880.jpg


写回答

1回答

ustbhuangyi

2017-12-31

v-for 的时候没写 index

0
0

Vue.js2.5+cube-ui重构饿了么App(经典再升级)

掌握Vue1.0到2.0再到2.5最全版本应用与迭代,打造极致流畅的WebApp

9868 学习 · 4162 问题

查看课程