Skip to content

Commit 83740b1

Browse files
authored
fix: 修复custom tooltip导致容器无限增大 (#2769)
1 parent cc96c74 commit 83740b1

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

docs/common/tooltip.en.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Tooltip offset.
189189

190190
<description>**optional** _Function_</description>
191191

192-
Support for custom templates.
192+
Support for custom templates. [Live demo](/en/examples/case/customize#customize-tooltip)
193193

194194
```ts
195195
{
@@ -200,7 +200,3 @@ Support for custom templates.
200200
}
201201
}
202202
```
203-
204-
Try it:
205-
206-
<playground path="case/customize/demo/customize-tooltip.ts" rid="customize-tooltip"></playground>

docs/common/tooltip.zh.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ tooltip 偏移量。
190190

191191
<description>**可选** _Function_</description>
192192

193-
支持自定义模板。
193+
支持自定义模板。[在线示例](/zh/examples/case/customize#customize-tooltip)
194194

195195
```ts
196196
{
@@ -202,6 +202,3 @@ tooltip 偏移量。
202202
}
203203
```
204204

205-
尝试一下:
206-
207-
<playground path="case/customize/demo/customize-tooltip.ts" rid="customize-tooltip"></playground>

0 commit comments

Comments
 (0)