JavaScript VUE Component Loading Sebelum data VUEX diatur
computed: {
hasEntry() {
if(infoNode && ('data' in infoNode)) return true
return false
}
}
//template
<v-icon size="6em" v-if="hasEntry">{{ fileIcons[infoNode.data.filetype] }}</v-icon>
Share
SAMER SAEID