一、该问题的重现步骤是什么?
在拉取菜单接口交互的时候 数据已经返回 前端接收控制台报错
二、你期待的结果是什么?实际看到的又是什么?
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
前端 https://saber.bladex.cn/#/ vue 开源版
忘了贴返回的数据了,补上
{"timestamp":"2019-11-06T06:32:07.812+0000","status":200,"message":"OK","exception":null,"data":[{"id":1123598815738675201,"name":"工作台","parentId":0,"hidden":false,"children":[{"id":1123598815738675202,"name":"通知公告","parentId":1123598815738675201,"hidden":false,"children":null,"iconClass":null,"code":"notice","alias":"menu","uri":"/desk/notice","keepAlive":"1","menuType":"1","sort":1}],"iconClass":null,"code":"desk","alias":"menu","uri":"/desk","keepAlive":"1","menuType":"1","sort":1},{"id":1123598815738675203,"name":"系统管理","parentId":0,"hidden":false,"children":[{"id":1123598815738675204,"name":"用户管理","parentId":1123598815738675203,"hidden":false,"children":null,"iconClass":null,"code":"user","alias":"menu","uri":"/system/user","keepAlive":"1","menuType":"1","sort":1},{"id":1123598815738675205,"name":"机构管理","parentId":1123598815738675203,"hidden":false,"children":null,"iconClass":null,"code":"dept","alias":"menu","uri":"/system/dept","keepAlive":"1","menuType":"1","sort":2},{"id":1123598815738675206,"name":"字典管理","parentId":1123598815738675203,"hidden":false,"children":null,"iconClass":null,"code":"dict","alias":"menu","uri":"/system/dict","keepAlive":"1","menuType":"1","sort":3},{"id":1123598815738675207,"name":"菜单管理","parentId":1123598815738675203,"hidden":false,"children":null,"iconClass":null,"code":"menu","alias":"menu","uri":"/system/menu","keepAlive":"1","menuType":"1","sort":4},{"id":1123598815738675208,"name":"顶部菜单","parentId":1123598815738675203,"hidden":false,"children":null,"iconClass":null,"code":"topmenu","alias":"menu","uri":"/system/topmenu","keepAlive":"1","menuType":"1","sort":5},{"id":1123598815738675209,"name":"参数管理","parentId":1123598815738675203,"hidden":false,"children":null,"iconClass":null,"code":"param","alias":"menu","uri":"/system/param","keepAlive":"1","menuType":"1","sort":6}],"iconClass":null,"code":"system","alias":"menu","uri":"/system","keepAlive":"1","menuType":"1","sort":99},{"id":1123598815738675210,"name":"系统监控","parentId":0,"hidden":false,"children":null,"iconClass":null,"code":"monitor","alias":"menu","uri":"/monitor","keepAlive":"1","menuType":"1","sort":3}]}
扫一扫访问 Blade技术社区 移动端