Skip to content

Commit

Permalink
fix(components): [api-group-tree] slice when the method str length gr…
Browse files Browse the repository at this point in the history
…eater than 4
  • Loading branch information
buqiyuan committed May 30, 2022
1 parent 3264265 commit 021926e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@
</div>
<!-- Leaf -->
<div class="tree_node f_row f_js_ac" *ngIf="!node.origin?.isFixed && node.isLeaf">
<div class="f_row_ac text-ellipsis overflow-hidden">
<div class="overflow-hidden f_row_ac text-ellipsis">
<b class="method_text method_text_{{ node.origin.method }} mr5" *ngIf="node.origin.method">{{
node.origin.method.slice(0, 4)
node.origin.method.length > 4 ? node.origin.method.slice(0, 3) : node.origin.method
}}</b>
<span class="text_omit node_title">{{ node.title }}</span>
</div>
Expand Down

0 comments on commit 021926e

Please sign in to comment.