From c58bce603bc8fcfb66840e44c3e8f2666518f41d Mon Sep 17 00:00:00 2001 From: Pan Date: Thu, 6 Sep 2018 13:18:34 +0800 Subject: [PATCH] rm unnecessary console.log --- src/components/Tinymce/components/editorImage.vue | 1 - src/store/modules/tagsView.js | 1 - src/utils/index.js | 1 - 3 files changed, 3 deletions(-) diff --git a/src/components/Tinymce/components/editorImage.vue b/src/components/Tinymce/components/editorImage.vue index f4e0a237..bcd82099 100644 --- a/src/components/Tinymce/components/editorImage.vue +++ b/src/components/Tinymce/components/editorImage.vue @@ -49,7 +49,6 @@ export default { this.$message('请等待所有图片上传成功 或 出现了网络问题,请刷新页面重新上传!') return } - console.log(arr) this.$emit('successCBK', arr) this.listObj = {} this.fileList = [] diff --git a/src/store/modules/tagsView.js b/src/store/modules/tagsView.js index 81ef59b1..f2faeb12 100644 --- a/src/store/modules/tagsView.js +++ b/src/store/modules/tagsView.js @@ -23,7 +23,6 @@ const tagsView = { for (const [i, v] of state.visitedViews.entries()) { if (v.path === view.path) { state.visitedViews.splice(i, 1) - console.log('1') break } } diff --git a/src/utils/index.js b/src/utils/index.js index 43a374e4..f607910c 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -169,7 +169,6 @@ export function scrollTo(element, to, duration) { const difference = to - element.scrollTop const perTick = (difference / duration) * 10 setTimeout(() => { - console.log(new Date()) element.scrollTop = element.scrollTop + perTick if (element.scrollTop === to) return scrollTo(element, to, duration - 10)