Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NJ_usercenter
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
NJ_usercenter
Commits
e6e8ae29
Commit
e6e8ae29
authored
Jun 21, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
a2691718
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
50 deletions
+50
-50
NJ_usercenter.fire
assets/NJ_usercenter/scene/NJ_usercenter.fire
+49
-49
NJ_usercenter.ts
assets/NJ_usercenter/scene/NJ_usercenter.ts
+1
-1
No files found.
assets/NJ_usercenter/scene/NJ_usercenter.fire
View file @
e6e8ae29
This diff is collapsed.
Click to expand it.
assets/NJ_usercenter/scene/NJ_usercenter.ts
View file @
e6e8ae29
...
...
@@ -41,7 +41,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
initData
()
{
const
middleLayer
=
cc
.
find
(
'
middleLayer
'
);
if
(
!
middleLayer
)
{
cc
.
sys
.
localStorage
.
setItem
(
'
token
'
,
'
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NCwicGhvbmUiOiIxNTUwMDAwMDAwMSIsInNpZ24iOi
JjZTRlMDk1Yi1mNTVkLTQyNGUtYWQyMC0yN2UxNjc2ZTcyZDQiLCJpYXQiOjE2NTU3MjgyNDQsImV4cCI6MTY1ODMyMDI0NH0.JFVw7Ip-qzDlMU2qp7iMaOuuIT-NkWxRndZog3CAU1s
'
);
cc
.
sys
.
localStorage
.
setItem
(
'
token
'
,
'
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6NCwicGhvbmUiOiIxNTUwMDAwMDAwMSIsInNpZ24iOi
I2NjAyMDk3ZS1iNjdmLTQ2ZjEtOTEyNC1lZmM4N2QzMmNmMjIiLCJpYXQiOjE2NTU4MDE1NzEsImV4cCI6MTY1ODM5MzU3MX0.JSdRYQKkzxQHAUqwvh4T9Rd8fe511wO92Dlk-R97EQg
'
);
}
this
.
token
=
cc
.
sys
.
localStorage
.
getItem
(
"
token
"
);
}
...
...
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