fix(接口定义): 修复分享场景报告title和页面控制台报错问题 (#18119)
--bug=1016923 --user=王孝刚 【接口测试】接口测试报告浏览器页签优化 https://www.tapd.cn/55049933/s/1248331 --bug=1016926 --user=王孝刚 【接口测试】分享报告前端提示变量没有找到 https://www.tapd.cn/55049933/s/1248337 Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
3dad5d53a6
commit
cf29538a1f
|
@ -711,10 +711,14 @@ export default {
|
|||
|
||||
created() {
|
||||
this.getReport();
|
||||
this.$EventBus.$on('projectChange', this.handleProjectChange);
|
||||
if (this.$EventBus) {
|
||||
this.$EventBus.$on('projectChange', this.handleProjectChange);
|
||||
}
|
||||
},
|
||||
destroyed() {
|
||||
this.$EventBus.$off('projectChange', this.handleProjectChange);
|
||||
if (this.$EventBus) {
|
||||
this.$EventBus.$off('projectChange', this.handleProjectChange);
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
path() {
|
||||
|
@ -780,7 +784,7 @@ export default {
|
|||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.report-body{
|
||||
min-width: 750px!important;
|
||||
.report-body {
|
||||
min-width: 750px !important;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="shortcut icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title>Api Report</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="shareApiReport"></div>
|
||||
|
|
Loading…
Reference in New Issue