mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-23 15:09:16 +08:00
fix(ImagePreview): scale event index is undefined (#7971)
This commit is contained in:
parent
fcb5c223ba
commit
95e45ab88a
@ -97,7 +97,7 @@ export default {
|
||||
state.scale = range(scale, +props.minZoom, +props.maxZoom);
|
||||
emit('scale', {
|
||||
scale: state.scale,
|
||||
index: state.active,
|
||||
index: props.active,
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user