Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
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
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
李伟
cust-app
Commits
62068d95
Commit
62068d95
authored
Dec 25, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了登录
parent
10b3f25b
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
109 additions
and
409 deletions
+109
-409
App.vue
App.vue
+3
-13
my.vue
pages/tab/my.vue
+80
-179
index.vue
pageslogin/index/index.vue
+26
-217
No files found.
App.vue
View file @
62068d95
...
...
@@ -2,19 +2,9 @@
export
default
{
onLaunch
:
function
(
option
)
{
console
.
log
(
"进入App.vue页面 "
+
option
.
path
)
if
(
uni
.
getStorageSync
(
'itemobj'
))
{
uni
.
switchTab
({
url
:
'/pages/tab/index'
});
}
else
{
if
(
option
.
path
!=
"pageslike/like/userInfo"
)
{
console
.
log
(
"分享用户标识失败,跳转登录页"
)
console
.
log
(
uni
.
getStorageSync
(
'usershare'
))
uni
.
reLaunch
({
url
:
'/pageslogin/index/index'
});
}
}
uni
.
switchTab
({
url
:
'/pages/tab/index'
});
},
onShow
:
function
()
{
...
...
pages/tab/my.vue
View file @
62068d95
This diff is collapsed.
Click to expand it.
pageslogin/index/index.vue
View file @
62068d95
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