Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 98d43b68
authored
Jan 28, 2026
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修复组件销毁时未移除 pageBack 事件监听的问题
1 parent
ba0f121a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
components/HomeFrame/index.vue
components/HomeFrame/index.vue
View file @
98d43b6
...
@@ -348,7 +348,7 @@ export default {
...
@@ -348,7 +348,7 @@ export default {
// 组件销毁前移除监听
// 组件销毁前移除监听
uni
.
$logger
.
local
.
info
(
'levelStudyPopup 移除监听'
)
uni
.
$logger
.
local
.
info
(
'levelStudyPopup 移除监听'
)
uni
.
$off
(
'levelStudyPopup'
)
uni
.
$off
(
'levelStudyPopup'
)
// uni.$off('showStudyPopup
')
uni
.
$off
(
'pageBack
'
)
},
},
mounted
()
{
mounted
()
{
uni
.
$logger
.
local
.
info
(
'levelStudyPopup 开始监听mounted'
)
uni
.
$logger
.
local
.
info
(
'levelStudyPopup 开始监听mounted'
)
...
...
Write
Preview
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