-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from hw-coconote/feature/driveRoot
[FEAT]폴더 현재경로 표시 및 뒤로가기 추가 폴더 이름 변경 에러 수정
- Loading branch information
Showing
2 changed files
with
140 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
// driveRouter.js | ||
import FolderComponent from '@/components/drive/FolderComponent.vue'; | ||
|
||
|
||
export const driveRouter = [ | ||
{ | ||
path: '/drive', | ||
path: '/channel/:id/drive', // URL에서 채널 ID를 받기 위해 :id 사용 | ||
name: 'FolderComponent', | ||
component: FolderComponent, | ||
props: true, // 채널 ID를 컴포넌트에 props로 전달 | ||
}, | ||
]; |