Monica var test = new Laya.TextInput(); test.text = "测试"; Laya.stage.addChild(test);console.log(test.text);//输出的就是输入框的值