Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
常超
founder_vue
Commits
ea6b81da
Commit
ea6b81da
authored
Mar 08, 2021
by
zhao_shaonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除debugger
parent
800ab318
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
5 deletions
+1
-5
src/store/modules/user.js
+1
-2
src/utils/axiosHttp.js
+0
-1
src/views/login.vue
+0
-2
No files found.
src/store/modules/user.js
View file @
ea6b81da
...
...
@@ -32,10 +32,9 @@ const actions = {
return
new
Promise
((
resolve
,
reject
)
=>
{
return
login
(
account
,
password
)
.
then
(
res
=>
{
debugger
const
data
=
res
.
data
;
commit
(
'SET_TOKEN'
,
data
.
accessToken
);
commit
(
'SET_USERIFNO'
,
data
);
//
commit('SET_USERIFNO', data);
resolve
();
})
.
catch
(
_err
=>
{
...
...
src/utils/axiosHttp.js
View file @
ea6b81da
...
...
@@ -22,7 +22,6 @@ var relUrlIp = window.location.host.substring(
//HTTPrequest拦截
service
.
interceptors
.
request
.
use
(
response
=>
{
debugger
//NProgress.start() // start progress bar
const
meta
=
(
response
.
meta
||
{});
const
isToken
=
meta
.
isToken
===
false
;
...
...
src/views/login.vue
View file @
ea6b81da
...
...
@@ -63,11 +63,9 @@ export default {
if
(
valid
)
{
self
.
logining
=
true
;
self
.
$store
.
dispatch
(
"user/login"
,
this
.
ruleForm2
).
then
(()
=>
{
debugger
self
.
$router
.
push
({
path
:
"/home"
});
}).
catch
(()
=>
{
debugger
});
...
...
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