提交 fb5c7938 authored 作者: lihuihui's avatar lihuihui

update

上级 be73e4c0
......@@ -80,6 +80,7 @@ export default {
dec: '',
url: ''
},
caseId: '',
stepsIndex: 0,
registerIndex: 0,
registerText: '第一步:打开抖音APP,点击底部“我”',
......@@ -160,7 +161,7 @@ export default {
const params = {
reports: JSON.stringify({ type: 1, commit_report: [this.form] })
}
const id = this.$route.query.id
const id = this.$route.query.id || this.caseId
if (id) {
params.id = id
}
......@@ -188,6 +189,7 @@ export default {
cacheReport(this.cases.id, { reports: JSON.stringify(param) })
.then(res => {
if (num) this.$message({ type: 'success', message: '保存成功' })
this.caseId = res.data.id
})
.catch(err => {
this.$message.error(err.message || '稍后再试')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论