mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[improvement] ImagePreview: add loop prop (#2103)
This commit is contained in:
@@ -5,11 +5,12 @@ import { isServer } from '../utils';
|
||||
let instance;
|
||||
|
||||
const defaultConfig = {
|
||||
value: true,
|
||||
images: [],
|
||||
loop: true,
|
||||
value: true,
|
||||
showIndex: true,
|
||||
showIndicators: false,
|
||||
startPosition: 0
|
||||
startPosition: 0,
|
||||
showIndicators: false
|
||||
};
|
||||
|
||||
const initInstance = () => {
|
||||
|
Reference in New Issue
Block a user