Skip to content

动态路由引用问题 #1

@cocoyes

Description

@cocoyes

在menuList =JSON.parse(JSON.stringify(routes));处报错
app.js?5dc1:211 Uncaught (in promise) TypeError: Converting circular structure to JSON --> starting at object with constructor 'Window' --- property 'window' closes the circle at JSON.stringify (<anonymous>) at eval (app.js?5dc1:211) at new Promise (<anonymous>) at Store.getRouters (app.js?5dc1:175) at Array.wrappedActionHandler (vuex.esm.js?7736:851) at Store.dispatch (vuex.esm.js?7736:516) at Store.boundDispatch [as dispatch] (vuex.esm.js?7736:406) at eval (index.js?a18c:65)

请问这里是怎么处理的呢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions