Commit fbd66db0 authored by hewenhao's avatar hewenhao

feat: update

parent 2cfcb8fd
declare const wx: any
export function preloadImage (urls: string[]) {
if (wx !== undefined && typeof wx.preloadAssets === 'function') {
if (typeof wx !== 'undefined' && typeof wx.preloadAssets === 'function') {
wx.preloadAssets({
data: urls.map(src => ({
type: 'image',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment