fix(UI): 打开分享链接点击点击报告名称报错

--bug=1022282 --user=李玉号 【UI测试】测试报告-分享报告-打开分享链接-点击点击报告名称报错
https://www.tapd.cn/55049933/s/1344068
This commit is contained in:
shiziyuan9527 2023-02-28 15:27:38 +08:00 committed by lyh
parent 25f0544ad1
commit fc35108fd1
1 changed files with 7 additions and 0 deletions

View File

@ -82,6 +82,10 @@ export default {
type: Boolean,
default: true,
},
isShare: {
type: Boolean,
default: false,
},
isTemplate: Boolean,
exportFlag: {
type: Boolean,
@ -135,6 +139,9 @@ export default {
$event.target.blur();
},
clickResource() {
if (this.isUi && this.isShare) {
return;
}
// UI
let workspaceId = getCurrentWorkspaceId();
this.$get("/project/api/project/get/" + this.scenarioId, res => {