通过worker-loader将代码转换为Blob类型,并通过URL.createObjectURL创建url分配给WebWorker线程执行。 安装loader. npm install worker-loader -D.
確定! 回上一頁