Skip to content

Routes is missing after reload page #1987

Open
@yamelsenih

Description

@yamelsenih

Bug report(问题描述)

Steps to reproduce(问题复现步骤)

  1. Make login
  2. Open a option from menú (note that option is added according with https://panjiachen.github.io/vue-element-admin-site/guide/essentials/permission.html#permission)
  3. After open option press F-5 or reload page manually
  4. Go to option selected or select another option
  5. Surprise: the option is missing

I noticed that the static option for menu is keeping but new asyncRoutes are missing.

Screenshot or Gif(截图或动态图)

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

Other relevant information(格外信息)

  • Your OS: Linux Kubuntu AMD 64
  • Node.js version: latest
  • vue-element-admin version: latest

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions