提交 2a9cec14 编写于 作者: 黎龙鑫 提交者: jianxing

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

上级 0cf11bd1
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册