refactor(index): 移除路由跳转中的未使用变量

This commit is contained in:
傅光孟 2026-04-07 09:17:06 +08:00
parent c5996581bb
commit 68c27a904f
1 changed files with 1 additions and 2 deletions

View File

@ -235,7 +235,7 @@ function showUploadDialog() {
} }
function goDetail(item) { function goDetail(item) {
const routeData = router.push({ router.push({
path: '/detail', path: '/detail',
query: { query: {
id: item.id, id: item.id,
@ -245,7 +245,6 @@ function goDetail(item) {
fileName: item.fileName, fileName: item.fileName,
}, },
}); });
// window.open(routeData.href, '_blank');
} }
// //