(it is too troublesome to repeat the problem due to requirements and other reasons) here is what kind of effect I want to achieve:
created () {
console.log(userInfo)
}
if the userInfo here has not been defined, I want to print out the error report of null or undefined, instead of webpack. I hope the god can tell me what I need to configure in webpack or what to configure in eslint