Commit e1ac564a authored by 晓彤's avatar 晓彤

修改场景用例添加

parent 19a759a1
...@@ -344,7 +344,6 @@ export default { ...@@ -344,7 +344,6 @@ export default {
this.getProjectList() this.getProjectList()
this.getModelList() this.getModelList()
this.$bus.$off('scenemsg').$on('scenemsg', (row) => { this.$bus.$off('scenemsg').$on('scenemsg', (row) => {
// console.log('参数信息', row)
this.sceneForm.name = row.name this.sceneForm.name = row.name
this.sceneForm.projectId = row.projectId this.sceneForm.projectId = row.projectId
this.sceneCaseInfo.sceneId = row.id this.sceneCaseInfo.sceneId = row.id
...@@ -414,7 +413,7 @@ export default { ...@@ -414,7 +413,7 @@ export default {
parameters: this.sceneCaseForm.caseDetialList[0].parameters, parameters: this.sceneCaseForm.caseDetialList[0].parameters,
extract: this.sceneCaseForm.caseDetialList[0].extract, extract: this.sceneCaseForm.caseDetialList[0].extract,
validate: this.sceneCaseForm.caseDetialList[0].validate, validate: this.sceneCaseForm.caseDetialList[0].validate,
id: this.sceneCaseForm.caseDetialList[0].id, // id: this.sceneCaseForm.caseDetialList[0].id,
interfaceId: this.sceneCaseForm.caseDetialList[0].interfaceId, interfaceId: this.sceneCaseForm.caseDetialList[0].interfaceId,
sceneId: this.sceneCaseInfo.sceneId, sceneId: this.sceneCaseInfo.sceneId,
sequence: this.sceneTestcaseList.length + 1 sequence: this.sceneTestcaseList.length + 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment