mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 17:31:18 +08:00
31 lines
307 B
Markdown
31 lines
307 B
Markdown
|
---
|
||
|
title: Html
|
||
|
description:
|
||
|
type: 0
|
||
|
group: ⚙ 组件
|
||
|
menuName: Html
|
||
|
icon:
|
||
|
order: 49
|
||
|
---
|
||
|
|
||
|
## 基本用法
|
||
|
|
||
|
渲染一段 HTML
|
||
|
|
||
|
```schema:height="200"
|
||
|
{
|
||
|
"body": {
|
||
|
"type": "html",
|
||
|
"html": "支持 <code>Html</code>"
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
> 当需要获取数据域中变量时,使用 [Tpl](./tpl) 。
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|