[LayaAir3]Laya3.2.7版worker加载图片404
分析代码发现,给worker传入的url变为atlas/comp/button.png
于是worker得到的url是http://localhost:18090/libs/atlas/comp/button.png,所以出现了404正确的url应该是http://localhost:18090/atlas/comp/button.png
于是worker得到的url是http://localhost:18090/libs/atlas/comp/button.png,所以出现了404正确的url应该是http://localhost:18090/atlas/comp/button.png
没有找到相关结果
已邀请:
要回复问题请先登录
2 个回复
深夜诗人
赞同来自:
深夜诗人
赞同来自:
class URL {现在Laya.URL.__init__变成空函数了static __init__() {
null == URL.basePath && (URL.basePath = location && null != location.protocol && "" != location.protocol ? URL.getPath(location.protocol + "//" + location.host + location.pathname) : "")
}
}