Skip to content

Commit 7cafdd1

Browse files
author
Taois
committed
feat: 禁用folder频繁校验
1 parent 0839da6 commit 7cafdd1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dashboard/src/components/VideoList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ const handleFolderNavigate = async (breadcrumb, index) => {
12171217
const now = Date.now();
12181218
if (now - lastFolderNavigationTime < 300) {
12191219
console.log('folder导航过于频繁,跳过');
1220-
return;
1220+
// return;
12211221
}
12221222
12231223
// 只在短时间内(1秒)阻止相同目标的重复导航,避免误点击

dashboard/src/views/Video.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ const handleFolderNavigate = async (navigationData) => {
722722
const now = Date.now();
723723
if (now - lastNavigationTime < 200) {
724724
console.log('folder导航更新过于频繁,跳过');
725-
return;
725+
// return;
726726
}
727727
728728
// 检查是否是相同的导航数据

0 commit comments

Comments
 (0)