mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore: remove unused comment
This commit is contained in:
parent
33fa443342
commit
206757c8bd
@ -65,20 +65,6 @@ function initInstance() {
|
||||
}).mount(root);
|
||||
}
|
||||
|
||||
// const initInstance = () => {
|
||||
// instance.$on('change', (index) => {
|
||||
// if (instance.onChange) {
|
||||
// instance.onChange(index);
|
||||
// }
|
||||
// });
|
||||
|
||||
// instance.$on('scale', (data) => {
|
||||
// if (instance.onScale) {
|
||||
// instance.onScale(data);
|
||||
// }
|
||||
// });
|
||||
// };
|
||||
|
||||
const ImagePreview = (images, startPosition = 0) => {
|
||||
/* istanbul ignore if */
|
||||
if (!inBrowser) {
|
||||
@ -100,11 +86,6 @@ const ImagePreview = (images, startPosition = 0) => {
|
||||
instance.toggle(true);
|
||||
});
|
||||
|
||||
// if (options.onClose) {
|
||||
// instance.$off('close');
|
||||
// instance.$once('close', options.onClose);
|
||||
// }
|
||||
|
||||
return instance;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user