diff --git a/docs/src/Preview.vue b/docs/src/Preview.vue
index d55e2e77..99734515 100644
--- a/docs/src/Preview.vue
+++ b/docs/src/Preview.vue
@@ -1,6 +1,12 @@
-
![]()
+
![]()
+
@@ -48,13 +54,12 @@ export default {
window.switchImage = path => {
path = path.replace('/', '');
this.currentPage = path;
- console.log('currentPage', this.currentPage);
};
}
};
-
diff --git a/docs/src/utils.js b/docs/src/utils.js
index 23b8a24a..3cd1107c 100644
--- a/docs/src/utils.js
+++ b/docs/src/utils.js
@@ -19,9 +19,7 @@ function iframeReady(iframe, callback) {
function syncPath(path) {
const iframe = document.querySelector('iframe');
- console.log(iframe);
iframeReady(iframe, () => {
- console.log('ready');
iframe.contentWindow.switchImage(path);
});
}