Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
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
fengzhaoyu
schedule
Commits
8423a0eb
Commit
8423a0eb
authored
4 years ago
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: 测试userid
parent
6ad09fe9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
login.js
api/login.js
+1
-1
meetingDetail.js
pages/meetingDetail/meetingDetail.js
+1
-1
No files found.
api/login.js
View file @
8423a0eb
...
@@ -25,7 +25,7 @@ export default async function login() {
...
@@ -25,7 +25,7 @@ export default async function login() {
getApp
().
globalData
.
name
=
res
.
data
.
data
.
oapiUser
.
name
;
getApp
().
globalData
.
name
=
res
.
data
.
data
.
oapiUser
.
name
;
getApp
().
globalData
.
userid
=
res
.
data
.
data
.
oapiUser
.
userid
;
getApp
().
globalData
.
userid
=
res
.
data
.
data
.
oapiUser
.
userid
;
getApp
().
globalData
.
mwUserId
=
res
.
data
.
data
.
mwUserId
;
getApp
().
globalData
.
mwUserId
=
res
.
data
.
data
.
mwUserId
;
dd
.
setStorageSync
({
key
:
'mwUserId'
,
data
:
res
.
data
.
data
.
mwUserId
})
dd
.
setStorageSync
({
key
:
'mwUserId'
,
data
:
res
.
data
.
data
.
mwUserId
,
key
:
'userid'
,
data
:
res
.
data
.
data
.
oapiUser
.
userid
})
getApp
().
globalData
.
avatar
=
res
.
data
.
data
.
oapiUser
.
avatar
;
getApp
().
globalData
.
avatar
=
res
.
data
.
data
.
oapiUser
.
avatar
;
getApp
().
globalData
.
userInfo
=
JSON
.
stringify
({
getApp
().
globalData
.
userInfo
=
JSON
.
stringify
({
username
:
oapiUser
.
name
,
username
:
oapiUser
.
name
,
...
...
This diff is collapsed.
Click to expand it.
pages/meetingDetail/meetingDetail.js
View file @
8423a0eb
...
@@ -112,7 +112,7 @@ create.Page({
...
@@ -112,7 +112,7 @@ create.Page({
isIPX
:
checkFullScren
(),
isIPX
:
checkFullScren
(),
placeholder
:
`
${
getApp
().
globalData
.
name
}
创建的会议`
,
placeholder
:
`
${
getApp
().
globalData
.
name
}
创建的会议`
,
scheduleItem
,
scheduleItem
,
currentPeople
:
getApp
().
globalData
.
userid
currentPeople
:
getApp
().
globalData
.
userid
||
dd
.
getStorageSync
({
key
:
'userid'
}).
data
})
})
this
.
getDetail
();
this
.
getDetail
();
const
_that
=
this
const
_that
=
this
...
...
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