mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
feat(Uploader): add lazy-load prop (#6083)
This commit is contained in:
@@ -24,6 +24,7 @@ export default createComponent({
|
||||
|
||||
props: {
|
||||
disabled: Boolean,
|
||||
lazyLoad: Boolean,
|
||||
uploadText: String,
|
||||
afterRead: Function,
|
||||
beforeRead: Function,
|
||||
@@ -301,6 +302,7 @@ export default createComponent({
|
||||
class={bem('preview-image')}
|
||||
width={this.previewSize}
|
||||
height={this.previewSize}
|
||||
lazyLoad={this.lazyLoad}
|
||||
onClick={() => {
|
||||
this.onPreviewImage(item);
|
||||
}}
|
||||
|
Reference in New Issue
Block a user