일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- 변수
- 자바
- 자바 구구단 출력
- 이클립스 DB연동
- 자바 if문
- 자바 조건문
- java
- 정보처리기사실기
- react ag grid
- MySQL
- 프로그래머스
- react with typescript
- 자바 삼항연산자
- 자바 switch문
- 타입스크립트
- 항해99 2기
- Til
- 자바 반복문
- 항해99
- Vue3
- 자바 스캐너
- 자바 자동캐스팅
- 자바 while문
- 자바 public
- 자바 공배수
- 자바 향상된 for문
- 자바 for문
- TypeScript
- 자바 강제 캐스팅
- 조코딩
- Today
- Total
목록에러노트 (20)
뇌 채우기 공간
프로젝트 : vue3 [원인] 부모에서 전달한 데이터를 props로 받고 자식에서 그것을 바로 수정하는 경우 생기는 에러 [해결] props로 받은 값을 변수화 해서 사용하고 emit을 통해 변경하면 된다.
설치안된 라이브러리 등이 있을 때 뜨는 에러! 찾아서 설치하면 된다!
https://stackoverflow.com/questions/57837758/navigationduplicated-navigating-to-current-location-search-is-not-allowed NavigationDuplicated Navigating to current location ("/search") is not allowed When I want to do a search multiple times it shows me the NavigationDuplicated error. My search is in the navbar and the way I have configured the search is to take the value using a model and then.....
같은 라우터로 푸시했을때 생기는 오류 this.$router.push("/admin").catch(()=>{}); catch문을 설정해주면 된다! 참고 : stackoverflow How to solve Avoided redundant navigation to current location error in vue? I am new in vue and i got the error after user logged in and redirect to another route. Basically i am a PHP developer and i use laravel with vue. Please help me to solve this error. Uncaught (in stackoverflow.com
문제발생 문제발생은 vue2에서 composition api 를 불러와서 잘 작업하고나서 script 를 타입스크립트로 바꿔줄때 나타났다. root.$router.replace({ query: queries.value }) 여기서 query부분이 에러가 났다. 메세지는 No overload matches this call 문제 해결 queries 의 타입은 내가 따로 지정한 타입인데 object안에 string도 있고 number도 있는 타입이었다. 문제 발생 원인은 query의 값들은 모두 string이거나 null이거나 undefined 이어야하는데 내가 number로 지정해서 생긴 오류였다. query?: Dictionary 그래서 타입을 모두 string으로 바꿔주었더니 해결! type Query..