Picking/dropping a file replaced whatever was already staged (reported: "I select one document and start again to select another, the first one is replaced"). setFiles now appends instead, deduping exact name+size repeats, so a batch can be built up across several separate picks/drops, not just one multi-select dialog. Each staged file gets an x to remove it before Extract is clicked. The staging list is cleared the moment Extract runs (not after it resolves), so an already-handed-off file can't linger and get re-processed - and duplicated, since extractionStore.documents has no dedup of its own - by a later click. Also resets the native file input after each pick so re-selecting the same file (e.g. after removing it) still fires a change event. |
||
|---|---|---|
| .. | ||
| .vscode | ||
| public | ||
| src | ||
| .gitignore | ||
| README.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| vite.config.js | ||
README.md
Vue 3 + Vite
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.