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
fe3d585b
Commit
fe3d585b
authored
Oct 16, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
5ef2184f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
loading.vue
vedio/pages/loading.vue
+0
-6
No files found.
vedio/pages/loading.vue
View file @
fe3d585b
<
template
>
<!-- Companionx -->
<view
class=
"body loading"
>
<view
class=
"logo"
>
<image
src=
"@/static/logo-about.png"
mode=
"widthFix"
style=
"border-radius: 20rpx;margin-bottom: 200rpx;"
/>
...
...
@@ -83,11 +82,9 @@
clueToken
=
obj
.
query
.
callback
??
''
adId
=
obj
.
query
.
aid
??
''
}
console
.
log
(
"1"
);
uni
.
login
({
provider
:
'weixin'
,
success
:
function
(
loginRes
)
{
console
.
log
(
"2"
+
loginRes
.
code
);
that
.
post
({
url
:
'/user/wechatlogin'
,
data
:
{
...
...
@@ -107,14 +104,11 @@
app
.
globalData
.
token
=
data
.
token
;
app
.
globalData
.
userId
=
data
.
pk_id
;
app
.
globalData
.
userInfo
=
data
;
console
.
log
(
"3"
);
redirectTo
(
'home'
);
}
});
},
fail
:
function
(
err
)
{
console
.
log
(
"4"
);
// 登录授权失败
message
.
notify
(
'登录授权失败 错误码:'
+
err
.
code
);
}
...
...
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