fix(测试跟踪): 性能测试报告分享,不显示资源池

--bug=1016200 --user=陈建星 【测试跟踪】定时任务执行测试计划,执行完性能测试报告中资源池是uuid https://www.tapd.cn/55049933/s/1239291
This commit is contained in:
AnAngle 2022-09-06 10:05:06 +08:00 committed by jianxing
parent 7e6cc798f9
commit 321350f17a
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@
from load_test_report ltr
left join load_test lt on ltr.test_id = lt.id
join project p on ltr.project_id = p.id
JOIN user on ltr.user_id = user.id
left JOIN user on ltr.user_id = user.id
where ltr.id = #{id}
</select>

View File

@ -409,7 +409,7 @@ export default {
if (this.isShare) {
url = '/share/testresourcepool/list/quota/valid';
}
if (!getCurrentProjectID()) {
if (!getCurrentProjectID() && !this.isShare) {
return;
}
this.result = this.$get(url, response => {