Skip to content

Commit

Permalink
保存一次
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Sep 30, 2018
1 parent 7ef75a1 commit 0dae959
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/store/modules/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ const user = {
console.log(data);
commit('SET_NAME', data.RealName)
commit('SET_REALNAME', data.UserName)


commit('SET_ROUTERS', filterAsyncRouter(data.Routers))
const asyncrouters =filterAsyncRouter(data.Routers)
console.log(asyncrouters)
commit('SET_ROUTERS', asyncrouters)



Expand Down

0 comments on commit 0dae959

Please sign in to comment.