Files
ISISeg/工程分析/实现方案-2026-05-18-19-19-36.md

23 lines
800 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 实现方案
开始时间2026-05-18-19-19-36
## 修改内容
1. 后端新增 `/favicon.ico`
- 返回一个轻量 SVG 图标响应。
- 避免浏览器默认请求 favicon 时产生 404 控制台噪声。
2. 前端增强 `loadSample`
- 加载开始时显示“正在加载内置样例视频”。
- 成功后显示“样例已加载,点击运行分割”。
- 接口或文件下载失败时在页面中显示错误。
3. 前端增强 `setFile`
- 仅在浏览器支持 `DataTransfer` 时同步设置 `fileInput.files`
- 保留 `selectedFile` 作为真实提交来源,兼容性更稳。
## 说明
`Unchecked runtime.lastError` 一般不是本项目代码产生,多见于浏览器扩展。若无痕模式或禁用扩展后消失,即可确认与系统无关。