Sign in
w-front-end
/
select_good
·
Commits
GitLab
Back to group
Project
Activity
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
c9268baa814b608e7a00d9395318073375802cb4
Authored by
王强
2022-11-11 11:44:42 +0800
1 parent
091a27ac
购好物,旗舰店“国内”和“境外”切换时,滚动条回顶部~
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/pages/mall2/mall2.vue
src/pages/mall2/mall2.vue
View file @
c9268ba
...
...
@@ -230,6 +230,9 @@
230
230
// 设置活动tab项目
231
231
this.$set(this, 'isActiveTab', activeTab);
232
232
233
+ // 滚动到页面顶部
234
+ document.documentElement.scrollTop = document.body.scrollTop = 0;
235
+
233
236
/* 重新加载页面数据 开始 */
234
237
235
238
// 旗舰店swiper
...
...