This commit is contained in:
parent
3cefa98c77
commit
403602f067
7
app.py
7
app.py
|
|
@ -126,6 +126,13 @@ def view_customer(index):
|
||||||
is_first = index == 0
|
is_first = index == 0
|
||||||
is_last = index == len(customer_data) - 1
|
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()
|
total_emails, cold_lead_count, no_promotion_count = calculate_statistics()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue