fix: 使用Iframe widget替代urlwidget加载HTML页面
This commit is contained in:
parent
afdbb2ed37
commit
9b52cd2e04
@ -1,18 +1,7 @@
|
|||||||
{
|
{
|
||||||
"widgettype": "VBox",
|
"widgettype": "Iframe",
|
||||||
"options": {
|
"options": {
|
||||||
"width": "100%",
|
"url": "{{entire_url('/dashboard_for_sage/api_doc.html')}}",
|
||||||
"height": "100%",
|
"height": "100%"
|
||||||
"padding": "0"
|
}
|
||||||
},
|
|
||||||
"subwidgets": [
|
|
||||||
{
|
|
||||||
"widgettype": "urlwidget",
|
|
||||||
"options": {
|
|
||||||
"url": "{{entire_url('/dashboard_for_sage/api_doc.html')}}",
|
|
||||||
"width": "100%",
|
|
||||||
"height": "100%"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user