Skip to content

Commit

Permalink
update doc (alibaba#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
superheizai authored and hengyunabc committed Jan 29, 2019
1 parent a800e2c commit efb8358
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/src/site/sphinx/en/tt.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Affect(class-cnt:1 , method-cnt:1) cost in 66 ms.
* Condition expression

Tips:
1. `tt -t *Test print params[0].length==1` with different amounts of parameters;
1. `tt -t *Test print params.length==1` with different amounts of parameters;
2. `tt -t *Test print 'params[1] instanceof Integer'` with different types of parameters;
3. `tt -t *Test print params[0].mobile=="13989838402"` with specified parameter.

Expand Down
2 changes: 1 addition & 1 deletion site/src/site/sphinx/tt.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Affect(class-cnt:1 , method-cnt:1) cost in 66 ms.

- 解决方法重载

`tt -t *Test print params[0].length==1`
`tt -t *Test print params.length==1`

通过制定参数个数的形式解决不同的方法签名,如果参数个数一样,你还可以这样写

Expand Down

0 comments on commit efb8358

Please sign in to comment.