fix(测试跟踪): 编辑用例页面Title汇总问题
--bug=1024033 --user=宋昌昌 【测试跟踪】功能用例-新建-版本和tab页标题未显示 https://www.tapd.cn/55049933/s/1346570 --bug=1024045 --user=宋昌昌 【测试跟踪】编辑用例tab页-再单击功能用例tab-顶部Title 标题显示为 null https://www.tapd.cn/55049933/s/1346459
This commit is contained in:
parent
ea17848783
commit
d68ac65a25
|
@ -144,7 +144,12 @@ export default {
|
|||
let title = response.data[4].paramValue;
|
||||
if (title) {
|
||||
localStorage.setItem("default-document-title", title);
|
||||
document.title = title;
|
||||
if (this.$route.fullPath.indexOf("/track/case/edit") === -1) {
|
||||
// 如果不是用例编辑, 新增, 复制页面则需修改title为系统title
|
||||
document.title = title;
|
||||
}
|
||||
} else {
|
||||
localStorage.setItem("default-document-title", "MeterSphere");
|
||||
}
|
||||
if (response.data[0].paramValue) {
|
||||
this.shortcutIcon();
|
||||
|
|
Loading…
Reference in New Issue