problem description
When thecomponent is in use, the browser reports an error picture description
related codes
component TypeListArr:
< template >
<div class="typeList_cont">
<ul>
<li v-for="(item, index) in typesData" class="typesItem" :key=""type_list"+index">{{item.text}}</li>
</ul>
</div>
< / template >
< script >
export default {
name: "types-listbox",
props: ["typesData", "clickOn", "activeItem"],
data() {
return {}
}
}
< / script >
Application:
< template >
< types-listbox: typesData= "qygl": activeItem= "projectInfo.signRank": clickOn= "false" > < / types-listbox >
< / template >
< script >
import TypeListArr from"@ / components/TypeListArr.vue"
export default {
name: "detail",
components: {PercentCircle, LevelBar, XBar, TypeListArr},
data(){
return {}
}
}
< / script >