게시글 수정 시 상세 페이지로 이동 하도록 변경

This commit is contained in:
nevermoregb 2025-03-28 10:29:11 +09:00
parent 3b50c84118
commit e447968ecf
2 changed files with 14 additions and 12 deletions

View File

@ -163,21 +163,22 @@
name: `${file.originalName}.${file.extension}`, name: `${file.originalName}.${file.extension}`,
})); }));
// //
const goList = () => { const goList = () => {
accessStore.$reset(); accessStore.$reset();
const getFilter = localStorage.getItem(`boardList_${currentBoardId.value}`); //
if (getFilter) { // const getFilter = localStorage.getItem(`boardList_${currentBoardId.value}`);
router.push({ // if (getFilter) {
path: '/board', // router.push({
query: JSON.parse(getFilter), // path: '/board',
}); // query: JSON.parse(getFilter),
} else { // });
router.push('/board'); // } else {
} // router.push('/board');
// }
//router.back(); router.back();
}; };
// //

View File

@ -187,7 +187,8 @@
showNotice: showNotices.value, showNotice: showNotices.value,
}; };
localStorage.setItem(`boardList_${seq}`, JSON.stringify(query)); //
//localStorage.setItem(`boardList_${seq}`, JSON.stringify(query));
}; };
// //