Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
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
android
uniapp_vedio
Commits
74bec2b7
Commit
74bec2b7
authored
Sep 09, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
d324ce2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
loading.vue
vedio/pages/loading.vue
+18
-18
No files found.
vedio/pages/loading.vue
View file @
74bec2b7
...
...
@@ -60,7 +60,6 @@
sourceType
:
''
,
slotParam
:
''
,
vipList
:
[],
localToken
:
''
,
appName
:
'河狸小故事'
,
isVip
:
false
}
...
...
@@ -70,11 +69,10 @@
},
onShow
(
options
)
{
this
.
ttLoging
()
this
.
isVipStatus
()
},
methods
:
{
isVipStatus
()
{
if
(
this
.
sourceType
==
'android'
&&
this
.
localToken
)
{
this
.
post
({
url
:
'/user/baseMsg'
,
showLoading
:
false
,
...
...
@@ -88,7 +86,6 @@
}
}
});
}
},
ttLoging
()
{
var
that
=
this
;
...
...
@@ -130,7 +127,6 @@
data
})
=>
{
app
.
globalData
.
userId
=
data
.
idcode
;
that
.
localToken
=
data
.
token
;
saveToken
(
data
.
token
)
// saveToken(
// 'A5CFAE67AF32E71D10CA6127546E82C20A8DE7C0EAAA5697BEEC2AC2E333F9945F433703067DF5142735505C42F58997'
...
...
@@ -203,7 +199,11 @@
appId
:
"wxbd687630cd02ce1d"
,
path
:
'pages/index/index'
,
extraData
:
wxData
.
params
,
success
(
res
)
{},
success
(
res
)
{
setTimeout
(()
=>
{
that
.
isVipStatus
()
},
1000
);
},
fail
(
res
)
{
// 未成功跳转到签约小程序
// console.log("wxSign fail=", res);
...
...
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