[0]Android点击fgui的输入框报错,ios没问题

有遇到这个问题的吗,MiniProgramError Cannot read property 'text' of undefined TypeError: Cannot read property 'text' of undefined at HTMLElement.wxinputFocus [as focus] (game.js:55395:76) at Array._popupInputMethod (game.js:44224:19) at Object.dispatchEvent (game.js:57270:22) at Function.<anonymous> (game.js:57641:25) at Function.t (WAGameSubContext.js:2:129788)

Cannot read property &#x27;text&#x27; of undefined
TypeError: Cannot read property &#x27;text&#x27; of undefined
at HTMLElement.wxinputFocus [as focus] (game.js:55395:76)
at Array._popupInputMethod (game.js:44224:19)
at Object.dispatchEvent (game.js:57270:22)
at Function.<anonymous> (game.js:57641:25)
at Function.t (WAGameSubContext.js:2:129788)<div class="eruda-json eruda-hidden"></div>
at e.value (wagame://servicewechat.com/WAGameVConsole.html:1:489664)
at new e (wagame://servicewechat.com/WAGameVConsole.html:1:488440)
at t.value (wagame://servicewechat.com/WAGameVConsole.html:1:484916)
at t.value (wagame://servicewechat.com/WAGameVConsole.html:1:484164)
at f.concat.forEach.e.<computed> [as error] (wagame://servicewechat.com/WAGameVConsole.html:1:469098)
at wagame://servicewechat.com/WAGameVConsole.html:1:471926
at Array.forEach (<anonymous>)
at console._log (wagame://servicewechat.com/WAGameVConsole.html:1:471813)
at <anonymous>:1:9
QQ图片20211204170856.jpg
已邀请:

Laya_Fred

赞同来自:

您好,您可以升级引擎库版本来解决这个问题,或者按照下图中的位置进行修改。

 
添加图中红框的内容:
input = this.nativeInput;

该问题目前已经被锁定, 无法添加新回复

商务合作
商务合作