Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
bigwood
Commits
b175dc6b
Commit
b175dc6b
authored
Nov 03, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理问题
parent
cd5db395
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
actions.ts
src/store/modules/user/actions.ts
+2
-2
No files found.
src/store/modules/user/actions.ts
View file @
b175dc6b
...
...
@@ -4,7 +4,7 @@ import UserService from '../../../api/user'
import
{
setStoreState
}
from
'../../utils'
import
Store
from
'../../../store'
import
message
from
'../../../utils/message'
import
{
useI18n
}
from
'vue-
i18n'
import
{
i18n
}
from
'../../../boot/
i18n'
//import router from '../../../router';
/**
* @description 所有跟用户相关的内容
...
...
@@ -45,7 +45,7 @@ const userActions = {
},
async
userLogin
({},
params
:
{
account
:
string
;
password
:
string
,
platform
:
number
}):
Promise
<
[
boolean
,
string
]
>
{
const
{
t
}
=
useI18n
()
const
{
t
}
=
i18n
.
global
let
flag
:[
boolean
,
string
]
=
[
false
,
''
]
try
{
let
param
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment