[]微信小游戏的位图字体加载报错!

查了一圈资料,发现这个问题并不是偶然,用了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)
已邀请:

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

商务合作
商务合作