去除无用功能,暂时注释
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user