2d5ff51708
편집 입력이 v-for 안에 있어 문자열 ref 가 요소가 아닌 배열이 되었고, focus() 가 조용히 무시돼 앞선 포커스 수정이 실제로는 적용되지 않았다. 포커스가 없으니 blur 도 발화하지 않아 다른 곳을 클릭해도 편집이 닫히지 않았다. - 문자열 ref 를 함수 ref 로 교체해 입력 요소를 직접 받는다 - 바깥 클릭으로도 편집을 확정한다(blur 에만 의존하지 않는 안전장치) ESC 는 입력의 취소 처리와 겹치지 않도록 훅에서 제외 - nextTick 이후 편집 대상이 바뀌었으면 포커스를 주지 않는다 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
frontend
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VS Code + Vue (Official) (and disable Vetur).
Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
Type Support for .vue Imports in TS
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Type-Check, Compile and Minify for Production
npm run build
Run Unit Tests with Vitest
npm run test:unit