fix(接口测试): 报告分享要登录
解决【接口测试】测试报告-分享链接-打开链接后查看详情失败报500error https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001013301 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001013300 --id=1013301_1013300 --user=郭雨琦
This commit is contained in:
parent
91cfb29913
commit
a3b8ddf964
frontend/src/business/components
api/automation/report
performance/report
track/plan/view/comonents/report/detail
|
@ -171,6 +171,11 @@
|
|||
if (this.isTemplate) {
|
||||
this.getReport();
|
||||
}
|
||||
},
|
||||
isShare() {
|
||||
if(this.isShare()){
|
||||
this.handleExport()
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -168,7 +168,7 @@ export default {
|
|||
res.data.typeValue = quantity+this.$t('commons.date_unit.day');
|
||||
}else
|
||||
if(unit==='M'){
|
||||
res.data.typeValue = quantity+this.$t('commons.date_unit.month');
|
||||
res.data.typeValue = quantity+this.$t('commons.workspace_unit')+this.$t('commons.date_unit.month');
|
||||
}else
|
||||
if(unit==='Y'){
|
||||
res.data.typeValue = quantity+this.$t('commons.date_unit.year');
|
||||
|
|
|
@ -387,7 +387,7 @@ export default {
|
|||
res.data.typeValue = quantity+this.$t('commons.date_unit.day');
|
||||
}else
|
||||
if(unit==='M'){
|
||||
res.data.typeValue = quantity+this.$t('commons.date_unit.month');
|
||||
res.data.typeValue = quantity+this.$t('commons.workspace_unit')+this.$t('commons.date_unit.month');
|
||||
}else
|
||||
if(unit==='Y'){
|
||||
res.data.typeValue = quantity+this.$t('commons.date_unit.year');
|
||||
|
|
|
@ -95,7 +95,7 @@ export default {
|
|||
res.data.typeValue = quantity+this.$t('commons.date_unit.day');
|
||||
}else
|
||||
if(unit==='M'){
|
||||
res.data.typeValue = quantity+this.$t('commons.date_unit.month');
|
||||
res.data.typeValue = quantity+this.$t('commons.workspace_unit')+this.$t('commons.date_unit.month');
|
||||
}else
|
||||
if(unit==='Y'){
|
||||
res.data.typeValue = quantity+this.$t('commons.date_unit.year');
|
||||
|
|
Loading…
Reference in New Issue