更新时间:2023-12-06 15:01:46
修改实体,而不是修改< a-assets>
中的内容。资产管理系统用于预加载和缓存。如果您是动态设置资产,则可以将其内联设置。
Modify the entity rather than the stuff in <a-assets>
. The asset management system is for preloading and caching. If you are setting assets dynamically, you can set them inline.
el.setAttribute('material','src','url(data :image / png; base64,xxx)')
。