1、添加TextButton
在child,添加TextButton、点击事件等属性。
2、点击运行
添加好TextButton之后,点击运行。
3、点击登录按钮
在预览界面,点击登录按钮就可以触发事件了。