Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- 항해99
- 자바 자동캐스팅
- 타입스크립트
- MySQL
- Vue3
- 조코딩
- react with typescript
- 자바
- 자바 for문
- java
- 항해99 2기
- 프로그래머스
- 자바 조건문
- react ag grid
- 자바 강제 캐스팅
- TypeScript
- 자바 스캐너
- 자바 구구단 출력
- 정보처리기사실기
- 자바 while문
- 자바 공배수
- 자바 반복문
- 자바 public
- 변수
- 자바 향상된 for문
- 자바 삼항연산자
- 자바 if문
- Til
- 자바 switch문
- 이클립스 DB연동
Archives
- Today
- Total
뇌 채우기 공간
[TIL] 20211126 vue2 route/ rebase/ vue error 본문
1. vue2 에서 route 접근하는 법
vue3에서는 useRoute를 써서 route에 쉽게 접근 할 수 있었는데
회사 코드는 vue2라서 vue3에서 보지 못했던 $route 를 보게됐다.
root를 쓰지않고 route에 접근하는 법은?
router.app.$route.query.orderType
router을 import 해와서 vue app을 만들때 주입해놓았던 route를 가져온다
2. git rebase termal에서 하기
2021.11.27 - [Git] - [Git] github branch rebase 하는 법
[Git] github branch rebase 하는 법
[하는 방법] 리베이스 하고 싶은 브랜치에 체크아웃하고 베이스가 됐으면 좋겠는 브랜치 명을 적는다. git rebase 베이스 브랜치 [rebase란?] 내가 이해한 바로는 베이스가 되는 코드를 바꾸는 것
sso-feeling.tistory.com
3. 에러
[에러노트] Avoided redundant navigation to current location: "/goods?nonPublic=0&page=1".
같은 라우터로 푸시했을때 생기는 오류 this.$router.push("/admin").catch(()=>{}); catch문을 설정해주면 된다! 참고 : stackoverflow How to solve Avoided redundant navigation to current location error in..
sso-feeling.tistory.com
728x90
'TIL' 카테고리의 다른 글
[TIL] 20211201 antd input type email (0) | 2021.12.01 |
---|---|
[TIL] 20211130 useMutation/ graphQL (0) | 2021.11.30 |
[TIL] 20211125 props default/ typescript error 처리/ vue option api model (0) | 2021.11.25 |
[TIL] 20211124 타입스크립트 타입 지정/ No overload matches this call 에러 (0) | 2021.11.24 |
[TIL] 20211123 타입스크립트 타입 정의/ composition function (0) | 2021.11.23 |