diff --git a/wwwroot/pricing_test.ui b/wwwroot/pricing_test.ui index 4b4c4b7..7da3405 100644 --- a/wwwroot/pricing_test.ui +++ b/wwwroot/pricing_test.ui @@ -7,7 +7,7 @@ "width": "100%", "height": "100%", "fields": [ -{% if amount is not none %} +{% if amount is not None %} { "name": "amount", "label": "价格", @@ -20,7 +20,7 @@ {% if params_kw.get(f) %} "value": "{{params_kw.get(f)}}", {% endif %} - "name": "{{f}}", + "name": "{{f}}, "label": "{{spec.label}}", "uitype": "{{spec.type}}" }