Skip to content

Commit

Permalink
[*] 修复 frp_token 引用
Browse files Browse the repository at this point in the history
  • Loading branch information
Daiyangcheng committed Nov 29, 2023
1 parent e83be44 commit d071db5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/stores/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ const store = new vuex.Store({
set_user_info(state, userdata) {
state.username = userdata.username;
state.email = userdata.email;
state.frptoken = userdata.frptoken;
state.frptoken = userdata.frp_token;
state.inbound = userdata.inbound;
state.outbound = userdata.outbound;
state.avatar = userdata.avatar;
state.traffic = userdata.traffic;
localStorage.setItem('username', userdata.username);
localStorage.setItem('email', userdata.email);
localStorage.setItem('traffic', userdata.traffic);
localStorage.setItem('frptoken', userdata.frptoken);
localStorage.setItem('frptoken', userdata.frp_token);
localStorage.setItem("inbound", userdata.inbound);
localStorage.setItem('outbound', userdata.outbound);
localStorage.setItem('avatar', userdata.avatar);
Expand Down

0 comments on commit d071db5

Please sign in to comment.