问题: 同步照片后多行共享同一物理文件 URL,删除某行照片时 deleteFile 删除了物理文件,其他行引用同一 URL 变图片缺失 修复: - 删除前检查照片被几行引用 - 若被多行引用: 弹窗询问【全部删除】(所有行移除+删文件) 或【仅移出此行】(只从当前行移除引用,不删服务器文件) - 若仅当前行引用: 普通确认后删除 - 普通删除也加确认弹窗
Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about the recommended Project Setup and IDE Support in the Vue Docs TypeScript Guide.