chore(examples): change the util method's examples

This commit is contained in:
MrWindlike 2022-06-01 13:54:32 +08:00
parent 6372c81a06
commit 5754230df0
3 changed files with 5 additions and 5 deletions

View File

@ -43,7 +43,7 @@
{
"componentId": "$utils",
"method": {
"name": "toast.open",
"name": "chakra_ui/v1/openToast",
"parameters": {
"id": "createSuccessToast",
"title": "恭喜",

View File

@ -43,7 +43,7 @@
{
"componentId": "$utils",
"method": {
"name": "toast.open",
"name": "chakra_ui/v1/openToast",
"parameters": {
"id": "createSuccessToast",
"title": "恭喜",

View File

@ -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": {}
}