problem description
the value passed from the parent component to the child component. ResumeData, is an object and rendered successfully, but the console always reports that one of the fields is null,
two errors
-
[Vue warn]: Error in render: "TypeError: Cannot read property "fullName" of null"
- `vue.runtime.esm.js?2b0e:1737 TypeError: Cannot read property "fullName" of null
at Proxy.render (eval at. / node_modules/cache-loader/dist/cjs.js? {"cacheDirectory": "node_modules\ .cache\ vue-loader", "cacheIdentifier": "6319bb7e-vue-loader-template"}!. / nodesigned modulesstop vueMaxime loader.NodemodulesUniverse NodeWheLedloaderMaMaMaMaLoader.jsloader.NodemodulesUnitionNodemodulesAccording to CacheLetLoaderAccording to CacheLetLoaderAccording to "cacheIdentifier": "6319bb7e-vue-loader-template", the modules are leveraged vueMuyloaderlibindex.jsload.SequenceSrcUniviewsAccenterLectureLectureUnientsUnitedTableLedtabLap _ compume.vueuecuecentsAccordittabbycompume.vue: 379 vue.runtime.esm.js?2b0e:4540 41)
at VueComponent.Vue._render (vue.runtime.esm.js?2b0e:4540)
at VueComponent.updateComponent (vue.runtime.esm.js?2b0e:2784)
at Watcher.get (vue.runtime.esm.js?2b0e:3138)
at new Watcher (vue.runtime.esm.js?2b0e:3127)
at mountComponent (vue.runtime.esm.js?2b0e:2791)
at VueComponent.Vue.$mount (vue.runtime.esm.js?2b0e:7995)
at init (vue.runtime.esm.js ? 2b0e:4133)
at createComponent (vue.runtime.esm.js?2b0e:5604)
at createElm (vue.runtime.esm.js?2b0e:5551) `
related codes
- template Code
resumeEntity: {resumeId: "201811071060145813156925440", openId: "ohu7T06ir-fwh_advr1NEnzCvaps", fullName: "fsdf",}
authenticationTime: null
company: "fsd"
companyAddress: null
companyLevel: null
companyScore: null
course1: "["",""]"
course2: "[""]"
createTime: "2018-11-07 20:23:52"
department: "fsdf"
education: null
fullName: "fsdf"
idCard: null
isbu: 1
mail: "fsd"
openId: "ohu7T06ir-fwh_advr1NEnzCvaps"
phone: "fsd "
portrait: "fsdfas "
position: "fsdf"
positionScore: null
proveDesc: null
proveImg: "fds"
resumeId: "201811071060145813156925440"
resumeState: -1
resumeVersion: "v1"
score: null
serviceRanking: null
sex: 1
titleLevel: "fsdf"
titleScore: null
updateTime: "2018-11-07 20:23:52"
wechat: "fsdf"
question:
The fullName field in theform is rendered. Why is it called null??