图片延迟加载功能

This commit is contained in:
x ronger 2020-08-14 01:09:27 +08:00
parent d559d04d3d
commit f0854f60f0
2 changed files with 2 additions and 0 deletions

View File

@ -209,6 +209,7 @@
Vue.VditorPreview.mindmapRender(previewElement); Vue.VditorPreview.mindmapRender(previewElement);
Vue.VditorPreview.abcRender(previewElement); Vue.VditorPreview.abcRender(previewElement);
Vue.VditorPreview.mediaRender(previewElement); Vue.VditorPreview.mediaRender(previewElement);
Vue.VditorPreview.lazyLoadImageRender(previewElement);
//VditorPreview.outlineRender(previewElement, outLineElement); //VditorPreview.outlineRender(previewElement, outLineElement);
window.scrollTo(0, 0); window.scrollTo(0, 0);
}) })

View File

@ -155,6 +155,7 @@
Vue.VditorPreview.mindmapRender(previewElement); Vue.VditorPreview.mindmapRender(previewElement);
Vue.VditorPreview.abcRender(previewElement); Vue.VditorPreview.abcRender(previewElement);
Vue.VditorPreview.mediaRender(previewElement); Vue.VditorPreview.mediaRender(previewElement);
Vue.VditorPreview.lazyLoadImageRender(previewElement);
//VditorPreview.outlineRender(previewElement, outLineElement); //VditorPreview.outlineRender(previewElement, outLineElement);
window.scrollTo(0,0); window.scrollTo(0,0);
}) })