Answer the question
In order to leave comments, you need to log in
Warning in vue, which is not a problem?
All good afternoon.
In the parent component, I call the component:
<div v-else v-for="(post, index) in visibilityData" :key="post.index" >
<DataItem
:post="post"
:index="index"
:quantity="visibilityData.length"
vizad
vizadtex
btnnorm
/>
</div>
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "btnnorm"
Property or method "vizcompare" 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.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question