齐采药WEB端项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
375 B

import Vue from 'vue'
import VueLazyLoad from 'vue-lazyload'
const loadimage = require('../static/image/loading.gif')
const errorimage = require('../static/image/loading.gif')
Vue.use(VueLazyLoad, {
preLoad: 1.33, //预加载高度比例
error: errorimage, //加载失败时图像的src
loading: loadimage, //加载时图像的src
attempt: 2,
throttleWait: 500
})