Skip to content

Commit caa5d02

Browse files
author
Zhicheng WANG
committed
fix: 解决“参数”、“返回值”的翻译错配问题
1 parent 037a6af commit caa5d02

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/dgeni/templates/method.template.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828

2929
{%- if method.params.length -%}
3030
<thead>
31+
<tr class="docs-api-method-parameters-header-row">
32+
<th colspan="2" class="docs-api-method-parameters-header-cell">Parameters</th>
33+
</tr>
3134
<tr class="docs-api-method-parameters-header-row">
3235
<th colspan="2" class="docs-api-method-parameters-header-cell">参数</th>
3336
</tr>
@@ -54,6 +57,9 @@
5457

5558
{%- if method.type and method.type !== "void" -%}
5659
<thead>
60+
<tr class="docs-api-method-returns-header-row">
61+
<th colspan="2" class="docs-api-method-returns-header-cell">Returns</th>
62+
</tr>
5763
<tr class="docs-api-method-returns-header-row">
5864
<th colspan="2" class="docs-api-method-returns-header-cell">返回值</th>
5965
</tr>

0 commit comments

Comments
 (0)