Skip to content

标签栏右键刷新后地址栏的redirect没有消失,控制台报错 #2032

@TY-LIU

Description

@TY-LIU

Bug report:标签栏右键刷新后地址栏的redirect没有消失,控制台发出警告与错误信息。

但是线上没有这个问题,本地会出现。并且项目从3.8.x版本拉下来,去掉了原有的权限控制,改成了从后台获取菜单,其余没变化。
[vue-router] uncaught error during route navigation:

TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at processState (backend.js:2108)
    at getInstanceState (backend.js:1958)
    at getCustomInstanceDetails (backend.js:1971)
    at backend.js:298
    at EncodeCache.cache (backend.js:234)
    at Object.replacer (backend.js:298)
    at encode (backend.js:2456)
    at encode (backend.js:2457)
    at encode (backend.js:2466)

Steps to reproduce(问题复现步骤)

右键标签,点击刷新

Screenshot or Gif(截图或动态图)

_20190508184408
_20190508184445
_20190508185042

Link to minimal reproduction(最小可在线还原demo)

无法提供

Other relevant information(格外信息)

  • Your OS: Win10 Chrome 74.0.3729.131 (正式版本) (64 位) (cohort: Stable)
  • Node.js version: v10.2.0
  • vue-element-admin version: 3.8.x

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions