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

update: 删除console

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