[]微信小游戏的位图字体加载报错!
查了一圈资料,发现这个问题并不是偶然,用了window.Parser = require("./js/dom_parser");],问题依旧。很多人都遇到同一个严重的问题,希望能重视起来,给大家一个完整清晰的解决方法!
gameThirdScriptError
t.getElementsByTagName is not a function
TypeError: t.getElementsByTagName is not a function
at t.e.parseFont (http://127.0.0.1:63921/game/code.js:1:12413)
at e.s.onLoaded (http://127.0.0.1:63921/game/code.js:1:176642)
at e.u (http://127.0.0.1:63921/game/code.js:1:295812)
at Image._image._image.onload (http://127.0.0.1:63921/game/code.js:1:481938)
gameThirdScriptError
t.getElementsByTagName is not a function
TypeError: t.getElementsByTagName is not a function
at t.e.parseFont (http://127.0.0.1:63921/game/code.js:1:12413)
at e.s.onLoaded (http://127.0.0.1:63921/game/code.js:1:176642)
at e.u (http://127.0.0.1:63921/game/code.js:1:295812)
at Image._image._image.onload (http://127.0.0.1:63921/game/code.js:1:481938)
没有找到相关结果
已邀请:
1 个回复
Aar0n
赞同来自: