From 077dfd476ff3cd2db852952c373a5636a763ad3b Mon Sep 17 00:00:00 2001 From: ihavecoke Date: Thu, 28 Apr 2022 14:58:25 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20dot.js=20=E8=AF=AD=E6=B3=95=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/parameters.def | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/parameters.def b/templates/parameters.def index b70c877f..6099616c 100644 --- a/templates/parameters.def +++ b/templates/parameters.def @@ -1,11 +1,11 @@ {{= data.tags.section }} -#### Parameters +#### Parameters -> Content-Type: application/json; charset=utf-8 - -| Name | Type | Required | Description | +> Content-Type: application/json; charset=utf-8 + +| Name | Type | Required | Description | |---|---|---|---| -{{~ data.parameters :p}}| {{=p.name}} | {{=p.safeType}} | {{if p.required == "true"}}是{{?}} | {{=p.shortDesc || 'none'}} | +{{~ data.parameters :p}}| {{=p.name}} | {{=p.safeType}} | {{= p.required === true ? '是' : '否'}} | {{=p.shortDesc || 'none'}} | {{~}} {{? data.longDescs }}