去除无用功能,暂时注释

This commit is contained in:
2025-05-30 19:07:06 +08:00
parent c169d718c5
commit 6989ae389b
4 changed files with 180 additions and 193 deletions
@@ -72,11 +72,6 @@ export function TemplateCard({ template, onClick }: TemplateCardProps) {
switch (action) {
case '立即下载':
// 添加调试信息
console.log('模板数据:', template);
console.log('文件路径:', template.file_path);
console.log('文件格式:', template.file_format);
if (template.file_path) {
// 构建文件名,使用模板标题和文件格式
const fileExtension = template.file_format || 'docx';