bugfix
This commit is contained in:
parent
648fa7d2c8
commit
30bd46e8c4
27
wwwroot/new_instance.dspy
Normal file
27
wwwroot/new_instance.dspy
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
id = await new_instance(request, params_kw.id, params_kw)
|
||||||
|
return {
|
||||||
|
"widgettype": "VBox",
|
||||||
|
"options": {
|
||||||
|
"width": "100%",
|
||||||
|
"height": "100%"
|
||||||
|
},
|
||||||
|
"subwidgets": [
|
||||||
|
{
|
||||||
|
"widgettype": "Text",
|
||||||
|
"options": {
|
||||||
|
"text": id,
|
||||||
|
"wrap": true,
|
||||||
|
"valign": "left"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"widgettype": "Text",
|
||||||
|
"options": {
|
||||||
|
"i18n": true,
|
||||||
|
"otext": "实例创建完成",
|
||||||
|
"wrap": true,
|
||||||
|
"valign": "left"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -14,6 +14,7 @@
|
|||||||
"actiontype": "urlwidget",
|
"actiontype": "urlwidget",
|
||||||
"target": "root.page_center",
|
"target": "root.page_center",
|
||||||
"options": {
|
"options": {
|
||||||
|
"method": "POST",
|
||||||
"url": "{{entire_url('new_instance.dspy')}}"
|
"url": "{{entire_url('new_instance.dspy')}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user