importImagePreloadfrom'@twaves/imagepreload';ImagePreload({data: [{url: 'resource url include http or https',type: 'bg'// background tag},{url: 'resource url include http or https',type: 'img'// img tag}],// Download resources with a few milliseconds delay, default: 0delay: 1000,// The minimum number of milliseconds to download resourcesminTime: 1000,// Download progressonProgress: (percent)=>{console.log('percent',percent);// [0-100]},// Download completedonComplete: ()=>{console.log('complete');// complete}})