提交 2f216f54 authored 作者: lihuihui's avatar lihuihui

update: 删除console

上级 8a218e55
...@@ -55,13 +55,11 @@ export default { ...@@ -55,13 +55,11 @@ export default {
// } // }
// }, // },
selectProducts() { selectProducts() {
console.log(2222)
this.$confirm('切换案例,当前填写的内容不会保存', '提示', { this.$confirm('切换案例,当前填写的内容不会保存', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
// console.log(1111)
// this.$router.push({ path: '/product-analysis' }) // this.$router.push({ path: '/product-analysis' })
this.visible = true this.visible = true
}).catch(() => {}) }).catch(() => {})
......
...@@ -62,7 +62,6 @@ export default { ...@@ -62,7 +62,6 @@ export default {
this.selectCase() this.selectCase()
}) })
} }
// console.log(this.$store.state.case, '1231')
}, },
selectConfirm() { selectConfirm() {
const data = this.caseList.find(item => { return item.id === this.caseSelect }) const data = this.caseList.find(item => { return item.id === this.caseSelect })
......
...@@ -25,7 +25,6 @@ export default { ...@@ -25,7 +25,6 @@ export default {
} }
}, },
mounted() { mounted() {
// console.log(this.$store.state.case, '123')
}, },
methods: { methods: {
handleClick(item) { handleClick(item) {
......
...@@ -105,7 +105,6 @@ export default { ...@@ -105,7 +105,6 @@ export default {
resolve(true) resolve(true)
}) })
.catch(err => { .catch(err => {
console.log(err)
reject(err) reject(err)
}) })
}) })
......
...@@ -130,7 +130,6 @@ export default { ...@@ -130,7 +130,6 @@ export default {
this.$message({ message: '请在发布视频完善信息', type: 'warning' }) this.$message({ message: '请在发布视频完善信息', type: 'warning' })
return false return false
} }
console.log(this.dataIndex, '123')
if (this.dataIndex !== 4) { if (this.dataIndex !== 4) {
this.$message({ message: '请完成当前步骤', type: 'warning' }) this.$message({ message: '请完成当前步骤', type: 'warning' })
return false return false
...@@ -152,12 +151,10 @@ export default { ...@@ -152,12 +151,10 @@ export default {
}, },
// 保存报告 // 保存报告
cacheReport() { cacheReport() {
console.log(this.form)
const commitReport = [ const commitReport = [
this.form, this.form,
{ steps: this.stepsIndex, registerIndex: this.registerIndex, dataIndex: this.dataIndex } { steps: this.stepsIndex, registerIndex: this.registerIndex, dataIndex: this.dataIndex }
] ]
console.log(commitReport, '=123')
const param = { type: 1, commit_report: commitReport } const param = { type: 1, commit_report: commitReport }
cacheReport(this.cases.id, { reports: JSON.stringify(param) }) cacheReport(this.cases.id, { reports: JSON.stringify(param) })
.then(res => { .then(res => {
...@@ -213,7 +210,6 @@ export default { ...@@ -213,7 +210,6 @@ export default {
this.registerText = sty.text this.registerText = sty.text
}, },
input(url) { input(url) {
console.log(url)
} }
} }
} }
......
...@@ -62,7 +62,6 @@ export default { ...@@ -62,7 +62,6 @@ export default {
} }
}, },
created() { created() {
console.log(this.data.completions[0].is_correct, '=123456')
if (this.firstItem.commit_answer !== '') { if (this.firstItem.commit_answer !== '') {
this.inputList = [] this.inputList = []
this.firstItem.commit_answer.split(';').forEach(item => { this.firstItem.commit_answer.split(';').forEach(item => {
......
...@@ -27,7 +27,6 @@ export default { ...@@ -27,7 +27,6 @@ export default {
} }
}, },
mounted() { mounted() {
console.log(this.$store.state.case, '123')
}, },
methods: { methods: {
handleClick(item) { handleClick(item) {
......
...@@ -42,7 +42,6 @@ export default { ...@@ -42,7 +42,6 @@ export default {
}, },
methods: { methods: {
errorResolution(data) { errorResolution(data) {
console.log(data)
if (data.tag === 'performance_benchmark') { if (data.tag === 'performance_benchmark') {
const replaceData = data.completions[0].commit_answer.replace(/,/g, '×').replace(/;/g, '+') const replaceData = data.completions[0].commit_answer.replace(/,/g, '×').replace(/;/g, '+')
data.completions[0].commit_answer = replaceData data.completions[0].commit_answer = replaceData
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论