iview-dynamicRouter icon indicating copy to clipboard operation
iview-dynamicRouter copied to clipboard

动态路由引用问题

Open cocoyes opened this issue 4 years ago • 0 comments
trafficstars

在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)

请问这里是怎么处理的呢

cocoyes avatar Nov 20 '21 02:11 cocoyes