cyzhzhd
@cyzhzhd1237
Reviews Written
11
Average Rating
5.0
Posts
Q&A
์ค์ต ๊ด๋ จํด์ ์ง๋ฌธ ๋๋ฆฝ๋๋ค.
1๋ฒ์ ๊ฒฝ์ฐ๋ ์ ์์ ์ผ๋ก ์๋ํ๋๋ฐ, 2๋ฒ์ ๊ฒฝ์ฐ๋ autocomplete์ ๋น ๋ฐฐ์ด๋ก, keyword์์๋ง ๋ณ๊ฒฝ ๋ด์ญ์ด ๋ฐ์๋๊ณ ์์ต๋๋ค. fetchautocomplete๋ ๋ณ๊ฒฝ ๋ด์ญ์ด ์์ ์๊ตฌ์.. ๋ฌด์์ด ์๋ชป ๋ ๊ฒ์ผ๊น์.. ์น์ ํ ๋ต๋ณ ๊ฐ์ฌํฉ๋๋ค.
- 0
- 3
- 226
Q&A
'myChart' is assigned a value but never used
๊ฐ๋จํ๊ฒ console.log(myChart)๋ฅผ ๋ฃ์ผ์ ๋ ์ ์ ์๋ํฉ๋๋ค!
- 1
- 4
- 2.5K
Q&A
์คํ ์ด ๋ชจ๋ํ ์ ...mapState
mapState('๋ชจ๋ ๋ช ') ์ ์ด์ฉํ๊ธฐ ์ํด์ , ๋ชจ๋์ exportํ ๋ namespaced: true, ์ต์ ์ ์ง์ ํด์ค์ผ ํ๋ ๊ฒ ๊ฐ์ต๋๋ค. modules/todoApp.js export default { namespaced: true, state, getters, mutations, }; TodoHeader.vue computed: { ...mapState("todoApp", ["headerText"]), ์ด๋ ๊ฒ ๋ณ๊ฒฝํ๊ณ ๋๋ฉด TodoList ๋ฑ helperํจ์๋ฅผ ์ด์ฉํ ๋ค๋ฅธ ํ์ผ๋ค๋ ์์ ๋์ผํ ํ์์ผ๋ก ๋ณ๊ฒฝํด ์ฃผ์ด์ผ ํฉ๋๋ค. ํนํ TodoInput.vue์์ // this.$store.commit("addOneItem", this.newTodoItem); this.addOneItem(this.newTodoItem);๋ก ๋ณ๊ฒฝํด ์ฃผ์ด์ผ ์ ์ ์๋ํฉ๋๋ค. * ์ ํํ์ง ์์ ์ ๋ณด์ผ ์ ์์ต๋๋ค. ์๋๋ผ๋ฉด ๋๊ธ ๋ฌ์์ฃผ์ธ์!
- 4
- 4
- 900




