diff --git a/examples/form/formInDialog.json b/examples/form/formInDialog.json index 92d1b4fe..fbf73a22 100644 --- a/examples/form/formInDialog.json +++ b/examples/form/formInDialog.json @@ -43,7 +43,7 @@ { "componentId": "$utils", "method": { - "name": "toast.open", + "name": "chakra_ui/v1/openToast", "parameters": { "id": "createSuccessToast", "title": "恭喜", diff --git a/examples/table/tableWithForm.json b/examples/table/tableWithForm.json index 8df42043..5888ba1b 100644 --- a/examples/table/tableWithForm.json +++ b/examples/table/tableWithForm.json @@ -43,7 +43,7 @@ { "componentId": "$utils", "method": { - "name": "toast.open", + "name": "chakra_ui/v1/openToast", "parameters": { "id": "createSuccessToast", "title": "恭喜", diff --git a/examples/toast/index.json b/examples/toast/index.json index a975b300..a580ad1c 100644 --- a/examples/toast/index.json +++ b/examples/toast/index.json @@ -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": {} }