Vue.jsに入門しています。公式のハローワールドをいじって複数のinput boxから入力を受けようとしています。しかしながら次のようなエラーが出て画面にinput
が表示されません。
https://github.com/yumetodo/rftools-coodinate-calculator/tree/feat/impl_ui
[vite] connecting... client.ts:13:8 [vite] connected. client.ts:43:14 [Vue warn]: Property "onInput" was accessed during render but is not defined on instance. at <HelloWorld msg="Hello Vue 3 + Vite" > at <App> runtime-core.esm-bundler.js:38:16 [Vue warn]: Unhandled error during execution of render function at <Inputs onInput=undefined > at <HelloWorld msg="Hello Vue 3 + Vite" > at <App> runtime-core.esm-bundler.js:38:16 Uncaught TypeError: _ctx.value is undefined _sfc_render Inputs.vue:5 renderComponentRoot runtime-core.esm-bundler.js:1165 componentEffect runtime-core.esm-bundler.js:5184 reactiveEffect reactivity.esm-bundler.js:42 effect reactivity.esm-bundler.js:17 setupRenderEffect runtime-core.esm-bundler.js:5137 mountComponent runtime-core.esm-bundler.js:5096 processComponent runtime-core.esm-bundler.js:5054 patch runtime-core.esm-bundler.js:4660 mountChildren runtime-core.esm-bundler.js:4844 processFragment runtime-core.esm-bundler.js:5013 patch runtime-core.esm-bundler.js:4653 componentEffect runtime-core.esm-bundler.js:5191 reactiveEffect reactivity.esm-bundler.js:42 effect reactivity.esm-bundler.js:17 setupRenderEffect runtime-core.esm-bundler.js:5137 mountComponent runtime-core.esm-bundler.js:5096 processComponent runtime-core.esm-bundler.js:5054 patch runtime-core.esm-bundler.js:4660 mountChildren runtime-core.esm-bundler.js:4844 processFragment runtime-core.esm-bundler.js:5013 patch runtime-core.esm-bundler.js:4653 componentEffect runtime-core.esm-bundler.js:5191 reactiveEffect reactivity.esm-bundler.js:42 effect reactivity.esm-bundler.js:17 setupRenderEffect runtime-core.esm-bundler.js:5137 mountComponent runtime-core.esm-bundler.js:5096 processComponent runtime-core.esm-bundler.js:5054 patch runtime-core.esm-bundler.js:4660 render2 runtime-core.esm-bundler.js:5774 mount runtime-core.esm-bundler.js:4070 mount runtime-dom.esm-bundler.js:1288 <anonymous> main.ts:4 Inputs.vue:5:54
xml
1 <input type="number" :value="value.builder[0]" @input="updateValue('builder', 0, $event.target.value)" />
参考にしたサイト
あなたの回答
tips
プレビュー