fix(测试跟踪):修复测试计划负责人显示不统一问题
This commit is contained in:
parent
0cf11bd187
commit
2a9cec1461
|
@ -163,7 +163,7 @@ export default {
|
|||
//设置“测试阶段”和“负责人”的默认值
|
||||
this.form.stage = 'smoke';
|
||||
const adminToken = JSON.parse(localStorage.getItem("Admin-Token"));
|
||||
this.form.principal = adminToken.name + "(" + adminToken.id + ")";
|
||||
this.form.principal = adminToken.id;
|
||||
},
|
||||
methods: {
|
||||
reload() {
|
||||
|
@ -274,7 +274,7 @@ export default {
|
|||
this.form.name = '';
|
||||
this.form.projectIds = [];
|
||||
const adminToken = JSON.parse(localStorage.getItem("Admin-Token"));
|
||||
this.form.principal = adminToken.name + "(" + adminToken.id + ")";
|
||||
this.form.principal = adminToken.id;
|
||||
this.form.stage = 'smoke';
|
||||
this.form.description = '';
|
||||
this.form.status = null;
|
||||
|
|
Loading…
Reference in New Issue