router.push Cannot read property '_normalized' of null
解决办法:router下的index.js添加push重写:
//重写routerPush以免产生router.push Cannot read property '_normalized' of null的错误 const routerPush = Router.prototype.push; Router.prototype.push = function push(location) { return routerPush.call(this, location).catch(error => error) }
浙公网安备 33010602011771号