mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-21 03:15:49 +08:00
chore(examples): change the util method's examples
This commit is contained in:
parent
6372c81a06
commit
5754230df0
@ -43,7 +43,7 @@
|
||||
{
|
||||
"componentId": "$utils",
|
||||
"method": {
|
||||
"name": "toast.open",
|
||||
"name": "chakra_ui/v1/openToast",
|
||||
"parameters": {
|
||||
"id": "createSuccessToast",
|
||||
"title": "恭喜",
|
||||
|
@ -43,7 +43,7 @@
|
||||
{
|
||||
"componentId": "$utils",
|
||||
"method": {
|
||||
"name": "toast.open",
|
||||
"name": "chakra_ui/v1/openToast",
|
||||
"parameters": {
|
||||
"id": "createSuccessToast",
|
||||
"title": "恭喜",
|
||||
|
@ -59,7 +59,7 @@
|
||||
"type": "onClick",
|
||||
"componentId": "$utils",
|
||||
"method": {
|
||||
"name": "toast.open",
|
||||
"name": "chakra_ui/v1/openToast",
|
||||
"parameters": {
|
||||
"id": "{{open_button.lastToast}}",
|
||||
"title": "i am a title",
|
||||
@ -103,7 +103,7 @@
|
||||
"type": "onClick",
|
||||
"componentId": "$utils",
|
||||
"method": {
|
||||
"name": "toast.close",
|
||||
"name": "chakra_ui/v1/closeToast",
|
||||
"parameters": {
|
||||
"id": "{{open_button.lastToast}}"
|
||||
}
|
||||
@ -156,7 +156,7 @@
|
||||
"type": "onClick",
|
||||
"componentId": "$utils",
|
||||
"method": {
|
||||
"name": "toast.close"
|
||||
"name": "chakra_ui/v1/closeToast"
|
||||
},
|
||||
"wait": {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user