Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaxiu-miniapp
Project
Project
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
蔡亮华(贵阳日报)
jiaxiu-miniapp
Commits
8b4521fd
Commit
8b4521fd
authored
Sep 18, 2024
by
彭佳妮(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录修改
parent
e1b91f1a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
App.vue
src/App.vue
+1
-1
index.vue
src/pages/mine/index.vue
+5
-2
No files found.
src/App.vue
View file @
8b4521fd
...
@@ -8,7 +8,7 @@ onLaunch(async () => {
...
@@ -8,7 +8,7 @@ onLaunch(async () => {
// #ifdef H5-SGY
// #ifdef H5-SGY
if
(
import
.
meta
.
env
.
VITE_APP_ENV
===
'production'
)
{
if
(
import
.
meta
.
env
.
VITE_APP_ENV
===
'production'
)
{
userStore
.
logout
()
userStore
.
logout
()
await
fastLoginBySgy
()
fastLoginBySgy
()
return
return
}
else
{
}
else
{
if
(
userStore
.
logout
)
await
signIn2
();
if
(
userStore
.
logout
)
await
signIn2
();
...
...
src/pages/mine/index.vue
View file @
8b4521fd
...
@@ -83,6 +83,9 @@ onLoad(() => {
...
@@ -83,6 +83,9 @@ onLoad(() => {
contentHeight
.
value
=
(
res
.
top
+
res
.
bottom
)
/
2
+
25
;
contentHeight
.
value
=
(
res
.
top
+
res
.
bottom
)
/
2
+
25
;
},
},
});
});
setTimeout
(()
=>
{
getOrganizeList
()
},
1000
)
})
})
const
router
=
useRouter
()
const
router
=
useRouter
()
...
@@ -96,10 +99,10 @@ const total = reactive({
...
@@ -96,10 +99,10 @@ const total = reactive({
2
:
0
2
:
0
})
})
onShow
(
async
()
=>
{
onShow
(()
=>
{
// toLogin()
// toLogin()
// if (userStore.isLogin())
// if (userStore.isLogin())
await
getOrganizeList
()
getOrganizeList
()
})
})
const
toLogin
=
()
=>
{
const
toLogin
=
()
=>
{
...
...
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