diff --git a/app.py b/app.py index c724196..6232de7 100644 --- a/app.py +++ b/app.py @@ -126,6 +126,13 @@ def view_customer(index): is_first = index == 0 is_last = index == len(customer_data) - 1 + # 调试代码:先尝试返回不带统计信息的模板渲染 + return render_template('edit_customers.html', + customer=customer, + index=index, + is_first=is_first, + is_last=is_last) + # 计算统计数据 total_emails, cold_lead_count, no_promotion_count = calculate_statistics()