Object.prototype.mergeObjXXXX = function(obj2){
console.log(this);
console.log(obj2);
}
< /Code> Просмотр 3.5.13
vue-router: 4.5.0 < /p>
main.js:38 TypeError: Cannot convert undefined or null to object
at Object.assign ()
at Object.mergeObjXXXX (ext.js:20:9)
at extractComponentsGuards (vue-router.js?v=ea680b7e
at vue-router.js?v=ea680b7e
Подробнее здесь: https://stackoverflow.com/questions/794 ... s-a-method
Мобильная версия