0
저는 vue를 처음 사용하고 있으며, 내 콘솔에서이 속성을 읽을 수 없다는 경고를 해결하려고 노력했습니다. 내 소도시에 기본값을 넣으려고했으나 운이 없었습니다. 나는 :condition
내부의 값을 얻을 수 있지만, 콘솔 내부에 널 (null)의 속성을 읽을 수없는 경고 표시Vue 경고 Null 속성을 읽을 수 없습니다.
props: ['user']
내부 향하고 구성 요소 :
<header-tooltip :total="total" title="High Paying Cash Surveys" :user="user" :condition="user.hpcs" :currency="currency" placeholder="0"></header-tooltip>
은 경고 :
[Vue warn]: Error when evaluating expression "user.hpcs": TypeError: Cannot read property 'hpcs' of null (found in component: <heading>)