Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea_resources_pc
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
张伯涛
tea_resources_pc
Commits
a86b6fb1
Commit
a86b6fb1
authored
Jul 24, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
延时变短
parent
431f726c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
App.vue
src/App.vue
+1
-1
index.vue
src/views/courseResources/courseMall/index.vue
+1
-1
No files found.
src/App.vue
View file @
a86b6fb1
...
...
@@ -54,7 +54,7 @@ export default {
setTimeout
(()
=>
{
this
.
$store
.
dispatch
(
'app/scroll'
,
null
)
this
.
$refs
[
'scrollContainer'
].
scrollTo
({
top
:
this
.
$route
.
query
.
params
.
height
||
0
,
behavior
:
'smooth'
})
},
1
500
)
},
500
)
}
// 这里可以执行一些操作,比如根据变化的值进行一些逻辑处理
}
...
...
src/views/courseResources/courseMall/index.vue
View file @
a86b6fb1
...
...
@@ -429,7 +429,7 @@ export default {
vm
.
queryParams
=
JSON
.
parse
(
from
.
query
.
params
)
vm
.
$store
.
dispatch
(
'app/scroll'
,
'1'
)
vm
.
getCourseByPagination
()
},
10
00
)
},
5
00
)
}
else
{
vm
.
$store
.
dispatch
(
'app/scroll'
,
'2'
)
}
...
...
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