Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
898d6d66
Commit
898d6d66
authored
Apr 26, 2025
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化事件移除
parent
d6b92820
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
pages/application-process/signature.vue
+10
-0
pages/index/index.vue
+0
-5
No files found.
pages/application-process/signature.vue
View file @
898d6d66
...
...
@@ -79,6 +79,16 @@
console
.
log
(
'组件销毁'
);
this
.
releaseScroll
();
// 确保组件销毁时释放
},
// 页面隐藏时立即解锁
onHide
()
{
this
.
releaseScroll
();
},
// 页面卸载时强制清理
onUnload
()
{
this
.
releaseScroll
();
},
methods
:
{
// 锁定滚动
lockScroll
()
{
...
...
pages/index/index.vue
View file @
898d6d66
...
...
@@ -171,11 +171,6 @@
onShow
()
{
this
.
init
();
// #ifdef H5
document
.
body
.
removeEventListener
(
'touchmove'
,
function
(
e
)
{
e
.
preventDefault
()
},
{
passive
:
false
})
// #endif
},
onLoad
()
{
//如果用户在其他的地方快捷登录,没有返回到首页,执行此监听方法
...
...
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