fix(测试跟踪):修复测试计划负责人显示不统一问题

This commit is contained in:
黎龙鑫 2021-04-27 15:23:24 +08:00 committed by jianxing
parent 0cf11bd187
commit 2a9cec1461
1 changed files with 2 additions and 2 deletions

View File

@ -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;