diff --git a/frontend/src/business/components/api/report/ApiReportViewDetail.vue b/frontend/src/business/components/api/report/ApiReportViewDetail.vue index 1f305492ec..a00b2b446a 100644 --- a/frontend/src/business/components/api/report/ApiReportViewDetail.vue +++ b/frontend/src/business/components/api/report/ApiReportViewDetail.vue @@ -106,7 +106,7 @@ export default { try { this.content = JSON.parse(this.report.content); } catch (e) { - console.log(this.report.content) + // console.log(this.report.content) throw e; } this.getFails(); diff --git a/frontend/src/business/components/api/test/ApiTestConfig.vue b/frontend/src/business/components/api/test/ApiTestConfig.vue index d4462a8eea..b20dd09439 100644 --- a/frontend/src/business/components/api/test/ApiTestConfig.vue +++ b/frontend/src/business/components/api/test/ApiTestConfig.vue @@ -387,7 +387,7 @@ export default { }, handleEvent(event) { if (event.keyCode === 83 && event.ctrlKey) { - console.log('拦截到 ctrl + s');//ctrl+s + // console.log('拦截到 ctrl + s');//ctrl+s this.saveTest(); event.preventDefault(); event.returnValue = false; diff --git a/frontend/src/business/components/common/websocket/WebSocket.vue b/frontend/src/business/components/common/websocket/WebSocket.vue index 74a6366920..cdf119da5e 100644 --- a/frontend/src/business/components/common/websocket/WebSocket.vue +++ b/frontend/src/business/components/common/websocket/WebSocket.vue @@ -20,7 +20,7 @@ }, methods: { initWebSocket() { - window.console.log("init WebSocket"); + // window.console.log("init WebSocket"); const uri = "ws://" + window.location.host + "/socket"; this.websocket = new WebSocket(uri); this.websocket.onmessage = this.onMessage; @@ -36,10 +36,10 @@ window.console.error(e) }, onMessage(e) { - window.console.log(e.data) + // window.console.log(e.data) }, onClose(e) { - window.console.log('断开连接', e); + // window.console.log('断开连接', e); }, send(Data) { this.websocket.send(Data); diff --git a/frontend/src/business/components/performance/report/PerformanceReportView.vue b/frontend/src/business/components/performance/report/PerformanceReportView.vue index 428f4ece37..0d105c2879 100644 --- a/frontend/src/business/components/performance/report/PerformanceReportView.vue +++ b/frontend/src/business/components/performance/report/PerformanceReportView.vue @@ -238,10 +238,10 @@ export default { }); }, onOpen() { - window.console.log("socket opening."); + // window.console.log("socket opening."); }, onError(e) { - window.console.error(e) + // window.console.error(e) }, onMessage(e) { this.$set(this.report, "refresh", e.data); // 触发刷新 @@ -253,7 +253,7 @@ export default { this.$set(this.report, "status", 'Running'); this.status = 'Running'; this.initReportTimeInfo(); - window.console.log('receive a message:', e.data); + // window.console.log('receive a message:', e.data); }, onClose(e) { if (e.code === 1005) { @@ -263,7 +263,7 @@ export default { this.$set(this.report, "refresh", Math.random()); // 触发刷新 this.$set(this.report, "status", 'Completed'); this.initReportTimeInfo(); - window.console.log("socket closed."); + // window.console.log("socket closed."); }, handleExport(name) { this.result.loading = true; @@ -358,7 +358,7 @@ export default { }); this.initWebSocket(); } else { - console.log("close socket."); + // console.log("close socket."); this.websocket.close() //离开路由之后断开websocket连接 } } diff --git a/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue b/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue index 5784764d67..0ebcb221fd 100644 --- a/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue +++ b/frontend/src/business/components/performance/report/components/PerformancePressureConfig.vue @@ -196,7 +196,7 @@ export default { }); }, getJmxContent() { - console.log(this.report.testId); + // console.log(this.report.testId); if (!this.report.testId) { return; } diff --git a/frontend/src/business/components/settings/organization/components/DefectTaskNotification.vue b/frontend/src/business/components/settings/organization/components/DefectTaskNotification.vue index 3fe1c2939d..46e19536fa 100644 --- a/frontend/src/business/components/settings/organization/components/DefectTaskNotification.vue +++ b/frontend/src/business/components/settings/organization/components/DefectTaskNotification.vue @@ -178,7 +178,7 @@ export default { handleAddTask(index, data) { if (data.event && data.userIds.length > 0 && data.type) { - console.log(data.type) + // console.log(data.type) if (data.type === 'NAIL_ROBOT' || data.type === 'WECHAT_ROBOT') { if (!data.webhook) { this.$warning(this.$t('organization.message.message_webhook')); diff --git a/frontend/src/business/components/settings/organization/components/JenkinsNotification.vue b/frontend/src/business/components/settings/organization/components/JenkinsNotification.vue index 6393408753..0b55210e8a 100644 --- a/frontend/src/business/components/settings/organization/components/JenkinsNotification.vue +++ b/frontend/src/business/components/settings/organization/components/JenkinsNotification.vue @@ -176,7 +176,7 @@ export default { }, handleAddTask(index, data) { if (data.event && data.userIds.length > 0 && data.type) { - console.log(data.type) + // console.log(data.type) if (data.type === 'NAIL_ROBOT' || data.type === 'WECHAT_ROBOT') { if (!data.webhook) { this.$warning(this.$t('organization.message.message_webhook')); diff --git a/frontend/src/business/components/settings/organization/components/ScheduleTaskNotification.vue b/frontend/src/business/components/settings/organization/components/ScheduleTaskNotification.vue index b0358ac2b7..8b9f7ab1a0 100644 --- a/frontend/src/business/components/settings/organization/components/ScheduleTaskNotification.vue +++ b/frontend/src/business/components/settings/organization/components/ScheduleTaskNotification.vue @@ -140,7 +140,7 @@ export default { methods: { initForm(){ this.result = this.$get('/notice/search/message/'+this.testId, response => { - console.log(response.data); + // console.log(response.data); this.form.scheduleTask = response.data; }) }, @@ -170,7 +170,7 @@ export default { }, handleAddTask(index, data) { if (data.event && data.userIds.length > 0 && data.type) { - console.log(data.type) + // console.log(data.type) if (data.type === 'NAIL_ROBOT' || data.type === 'WECHAT_ROBOT') { if (!data.webhook) { this.$warning(this.$t('organization.message.message_webhook')); diff --git a/frontend/src/business/components/settings/organization/components/TestPlanTaskNotification.vue b/frontend/src/business/components/settings/organization/components/TestPlanTaskNotification.vue index 80706d170a..6cff6c43bb 100644 --- a/frontend/src/business/components/settings/organization/components/TestPlanTaskNotification.vue +++ b/frontend/src/business/components/settings/organization/components/TestPlanTaskNotification.vue @@ -184,7 +184,7 @@ export default { handleAddTask(index, data) { if (data.event && data.userIds.length > 0 && data.type) { - console.log(data.type) + // console.log(data.type) if (data.type === 'NAIL_ROBOT' || data.type === 'WECHAT_ROBOT') { if (!data.webhook) { this.$warning(this.$t('organization.message.message_webhook')); diff --git a/frontend/src/business/components/settings/organization/components/TestReviewNotification.vue b/frontend/src/business/components/settings/organization/components/TestReviewNotification.vue index 53e50ea5af..19c747de25 100644 --- a/frontend/src/business/components/settings/organization/components/TestReviewNotification.vue +++ b/frontend/src/business/components/settings/organization/components/TestReviewNotification.vue @@ -185,7 +185,7 @@ export default { handleAddTask(index, data) { if (data.event && data.userIds.length > 0 && data.type) { - console.log(data.type) + // console.log(data.type) if (data.type === 'NAIL_ROBOT' || data.type === 'WECHAT_ROBOT') { if (!data.webhook) { this.$warning(this.$t('organization.message.message_webhook')); diff --git a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue index cde3ca5058..b0e3061dd5 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue @@ -301,7 +301,7 @@ export default { return path + "/" + this.currentPage + "/" + this.pageSize; }, handleEdit(testCase, index) { - console.log(testCase) + // console.log(testCase) this.isReadOnly = false; if (!checkoutTestManagerOrTestUser()) { this.isReadOnly = true;