
VM3255:1 gameSDKScriptError
e.defaultValue.slice is not a function;wx.showKeyboard
TypeError: e.defaultValue.slice is not a function
at Function.r (http://127.0.0.1:51483/game/dev/WAGame.js16615)
at Object. (http://127.0.0.1:51483/game/dev/WAGame.js6729)
at t.i.focus (http://127.0.0.1:51483/game/cocos2d-js-min.6733f.js:1:398390)
at 105._ccsg.EditBox.CanvasRenderCmd.105.e._beginEditing (http://127.0.0.1:51483/game/cocos2d-js-min.6733f.js:1:402059)
at e._onTouchEnded (http://127.0.0.1:51483/game/cocos2d-js-min.6733f.js:1:387840)
at e._onTouchEnded (http://127.0.0.1:51483/game/cocos2d-js-min.6733f.js:1:294127)
at n.111.n.invoke (http://127.0.0.1:51483/game/cocos2d-js-min.6733f.js:1:432722)
at http://127.0.0.1:51483/game/cocos2d-js-min.6733f.js:1:435458
at e.112.a.dispatchEvent (http://127.0.0.1:51483/game/cocos2d-js-min.6733f.js:1:435741)
at e.T [as onTouchEnded] (http://127.0.0.1:51483/game/cocos2d-js-min.6733f.js:1:185994)
空的EditBox没问题,编辑过再次编辑也ok,只是用代码赋值会有问题。
16615)
6729)