diff --git a/app.py b/app.py index 4bb87e9..e15e70b 100644 --- a/app.py +++ b/app.py @@ -129,7 +129,7 @@ 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, @@ -140,6 +140,9 @@ def view_customer(index): no_promotion_count=no_promotion_count) + + + # @app.route('/customer/') # def view_customer(index): # # 判断是否有数据