Skip to content

Commit

Permalink
fix(toolkit/pro): fix the error: Maximum call stack size exceeded
Browse files Browse the repository at this point in the history
fix #128
  • Loading branch information
fengyon committed Apr 19, 2024
1 parent 8e977c6 commit 0264bfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const useAppStore = defineStore('app', {

getters: {
appCurrentSetting(state: AppState): AppState {
return { ...state };
return state;
},
appDevice(state: AppState) {
return state.device;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const useUserStore = defineStore('user', {

getters: {
userInfo(state: UserState): UserState {
return { ...state };
return state;
},
},

Expand Down

0 comments on commit 0264bfe

Please sign in to comment.