From 403602f06731ea232ea2d78812d21854175d60e5 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 28 Oct 2024 20:32:02 +0800 Subject: [PATCH] . --- app.py | 7 +++++++ 1 file changed, 7 insertions(+) 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()