File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export const useUserStore = defineStore(
30
30
localStorage . setItem ( 'account' , res . data . account )
31
31
localStorage . setItem ( 'token' , res . data . token )
32
32
localStorage . setItem ( 'failure_time' , res . data . failure_time )
33
- localStorage . set ( 'avatar' , res . data . avatar )
33
+ localStorage . setItem ( 'avatar' , res . data . avatar )
34
34
account . value = res . data . account
35
35
token . value = res . data . token
36
36
failure_time . value = res . data . failure_time
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ declare module 'vue' {
10
10
ActionContainer : typeof import ( './../components/ActionContainer/index.vue' ) [ 'default' ]
11
11
Auth : typeof import ( './../components/Auth/index.vue' ) [ 'default' ]
12
12
AuthAll : typeof import ( './../components/AuthAll/index.vue' ) [ 'default' ]
13
- Copyright : typeof import ( './../components/Copyright/index.vue' ) [ 'default' ]
14
13
FileUpload : typeof import ( './../components/FileUpload/index.vue' ) [ 'default' ]
15
14
HBadge : typeof import ( './../views/ui-kit/HBadge.vue' ) [ 'default' ]
16
15
HButton : typeof import ( './../views/ui-kit/HButton.vue' ) [ 'default' ]
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import type { FormInstance , FormRules } from ' element-plus'
3
3
import { ElMessage } from ' element-plus'
4
+ import Copyright from ' @/views/components/Copyright/index.vue'
4
5
import useUserStore from ' @/store/modules/user'
5
6
6
7
defineOptions ({
You can’t perform that action at this time.
0 commit comments