[Vue warn]: Error in render: “TypeError: Cannot read property ‘username’ of null”

found in

TypeError: Cannot read property ‘username’ of null
at Proxy.render (eval at ./node_modules/cache-loader/dist/cjs.js?{“cacheDirectory”:“node_modules/.cache/vue-loader”,“cacheIdentifier”:“75ae2b2e-vue-loader-template”}!./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/components/head.vue?vue&type=template&id=e089b420&scoped=true& (0.js:59), :11:52)
[Vue warn]: Error in render: “TypeError: Cannot read property ‘username‘ of null“ found in
渲染错误:“TypeError:不能读取属性’username’的null”
中发现的

解决方法:加了v-if 有就渲染[Vue warn]: Error in render: “TypeError: Cannot read property ‘username‘ of null“ found in

相关文章:

  • 2021-06-12
  • 2021-12-03
  • 2021-06-12
  • 2021-08-06
  • 2021-07-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-27
  • 2021-09-06
  • 2021-05-05
  • 2022-12-23
  • 2021-11-30
相关资源
相似解决方案