Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
46a23786
Commit
46a23786
authored
5 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
js修改
parent
ee276389
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
SupplierLogin.vue
src/components/SupplierLogin.vue
+2
-2
index.js
src/plug/index.js
+4
-3
No files found.
src/components/SupplierLogin.vue
View file @
46a23786
...
...
@@ -151,8 +151,8 @@
data
()
{
return
{
userInfo
:
{
name
:
""
,
password
:
""
,
name
:
"
13551126756
"
,
password
:
"
123456
"
,
Domain
:
""
},
groupModel
:
[],
...
...
This diff is collapsed.
Click to expand it.
src/plug/index.js
View file @
46a23786
...
...
@@ -310,8 +310,9 @@ export default {
}
var
apiNewurl
=
this
.
domainManager
().
PostUrl
;
var
timestamp
=
(
new
Date
()).
valueOf
();
if
(
!
this
.
getLocalStorageSupplier
().
userInfo
&&
this
.
getLocalStorageSupplier
().
userInfo
!=
""
&&
this
.
$route
.
path
.
toLowerCase
()
!=
"/supplierlogin"
)
{
var
uid
=
0
;
if
(
this
.
getLocalStorageSupplier
()
&&
this
.
getLocalStorageSupplier
().
userInfo
&&
this
.
getLocalStorageSupplier
().
userInfo
!=
""
&&
this
.
$route
.
path
.
toLowerCase
()
!=
"/supplierlogin"
)
{
uid
=
this
.
getLocalStorageSupplier
().
SupplierAccountId
;
}
else
{
...
...
@@ -334,7 +335,7 @@ export default {
"timestamp"
:
timestamp
,
"token"
:
token
,
"sign"
:
md5Str
,
"uid"
:
this
.
getLocalStorageSupplier
().
SupplierAccountI
d
"uid"
:
ui
d
}
this
.
$http
.
post
(
apiNewurl
,
postData
,
{
...
...
This diff is collapsed.
Click to expand it.
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