Loading many images simultaneously causing the browser to freeze

前端 未结 0 1645
夕颜
夕颜 2020-12-14 11:57

I am trying to load many images with javascript with the following code

  const promise = new Promise((resolve, reject) => {
        const img = new Image(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题