mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] ImagePreview: index NaN (#2146)
This commit is contained in:
parent
b567a2a563
commit
1a53683353
@ -20,7 +20,7 @@ const initInstance = () => {
|
||||
document.body.appendChild(instance.$el);
|
||||
};
|
||||
|
||||
const ImagePreview = (images, startPosition) => {
|
||||
const ImagePreview = (images, startPosition = 0) => {
|
||||
/* istanbul ignore if */
|
||||
if (isServer) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user