优化:代码审查
清理: - 删除重复的 composables(useFilePreview.js、useFileEdit.js) - 已有 TypeScript 版本在 FileSystem/composables/ 优化: - 统一 API 层错误日志到 debugLog(system.ts) - 移除 UpdatePanel 调试面板和调试文本 代码质量: - 提升代码可维护性 - 统一错误处理方式
This commit is contained in:
@@ -79,20 +79,8 @@
|
||||
</div>
|
||||
</a-alert>
|
||||
|
||||
<!-- 调试信息(始终显示) -->
|
||||
<div style="font-size: 12px; color: #999; padding: 8px; background: var(--color-fill-2); margin-top: 16px; border-radius: 4px;">
|
||||
<strong>调试信息:</strong>
|
||||
<br>downloading = {{ downloading }}
|
||||
<br>downloadProgress = {{ downloadProgress }}
|
||||
<br>downloadStatus = {{ downloadStatus }}
|
||||
<br>progressInfo = {{ progressInfo }}
|
||||
</div>
|
||||
|
||||
<!-- 下载进度 -->
|
||||
<div v-if="downloadProgress > 0 || downloading" class="download-progress">
|
||||
<div style="font-size: 11px; color: #999; margin-bottom: 8px;">
|
||||
进度条已显示:downloadProgress={{ downloadProgress }}, downloading={{ downloading }}
|
||||
</div>
|
||||
<a-progress
|
||||
:percent="downloadProgress"
|
||||
:status="downloadStatus"
|
||||
|
||||
Reference in New Issue
Block a user