Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
ztx_wx_gzt
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
00c48219
authored
2026-05-07 11:43:06 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
https://code.itechtop.cn/yangyang/ztx_wx_gzt
2 parents
8d0f93af
6eba4489
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
13 deletions
personal/home.vue
personal/home.vue
View file @
00c4821
...
...
@@ -239,6 +239,7 @@ let hasOpenedBindPopup = false
onShow
(()
=>
{
let
webUserName
=
uni
.
getStorageSync
(
'webUserName'
)
console
.
log
(
webUserName
)
if
(
!
webUserName
)
{
wxLogin
().
then
(
getWebInfo
)
}
...
...
@@ -345,15 +346,7 @@ const confirmBind = async () => {
idcCode
:
bindForm
.
value
.
idcCode
}))
uni
.
hideLoading
()
if
(
err
)
{
console
.
log
(
err
)
// uni.showToast({
// title: err?.data?.msg || err?.message || '绑定失败,请稍后重试',
// icon: 'none',
// duration: 3000
// })
// return
if
(
res
.
data
!=
1
)
{
handelGo
()
closeBindPopup
()
}
else
{
...
...
@@ -364,11 +357,30 @@ const confirmBind = async () => {
closeBindPopup
()
await
getWebInfo
()
}
if
(
err
)
{
console
.
log
(
err
)
handelGo
()
closeBindPopup
()
}
// uni.showToast({
// title: '绑定成功',
// icon: 'success'
// })
// if (err) {
// console.log(err)
// // uni.showToast({
// // title: err?.data?.msg || err?.message || '绑定失败,请稍后重试',
// // icon: 'none',
// // duration: 3000
// // })
// // return
// handelGo()
// closeBindPopup()
// } else {
// uni.showToast({
// title: '绑定成功',
// icon: 'success'
// })
// closeBindPopup()
// await getWebInfo()
// }
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment