提交 c5ec2873 authored 作者: yueweilu's avatar yueweilu

知识测评调试完毕

上级 3ff7ccc1
...@@ -29,7 +29,7 @@ class _AnswerPageState extends State<AnswerPage> { ...@@ -29,7 +29,7 @@ class _AnswerPageState extends State<AnswerPage> {
controller.evaluateJavascript(source: 'callbackInFlutterComponent("$str");'); controller.evaluateJavascript(source: 'callbackInFlutterComponent("$str");');
controller.addJavaScriptHandler(handlerName: 'evaluatingSubmitCallback', callback: (args){ controller.addJavaScriptHandler(handlerName: 'evaluatingSubmitCallback', callback: (args){
Console.log('监听笔记回调------------------------------------------------$args'); Console.log('知识测评----提交按钮回调------------------------------------------------$args');
context.pop(); context.pop();
// readController.titleInput.text = args.toString(); // readController.titleInput.text = args.toString();
}); });
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论