fix(测试跟踪): 测试跟踪通过版本创建用例权限问题

--bug=1018744 --user=宋昌昌 【系统设置】没有给测试跟踪用例创建权限但依然可通过版本进行创建其他版本用例 https://www.tapd.cn/55049933/s/1275246
This commit is contained in:
song-cc-rock 2022-10-24 20:04:46 +08:00 committed by jianxing
parent e03a125fb4
commit f67014da61
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
<ms-aside-container :height="pageHeight"> <ms-aside-container :height="pageHeight">
<test-case-base-info <test-case-base-info
:form="form" :form="form"
:is-form-alive="isFormAlive" :is-form-alive="isFormAlive"
:isloading="loading" :isloading="loading"
:read-only="readOnly" :read-only="readOnly"
@ -43,7 +44,7 @@
ref="versionHistory" ref="versionHistory"
:version-data="versionData" :version-data="versionData"
:current-id="currentTestCaseInfo.id" :current-id="currentTestCaseInfo.id"
:is-read="currentTestCaseInfo.trashEnable" :is-read="currentTestCaseInfo.trashEnable || readOnly"
@confirmOtherInfo="confirmOtherInfo" @confirmOtherInfo="confirmOtherInfo"
:current-project-id="currentProjectId" :current-project-id="currentProjectId"
@compare="compare" @checkout="checkout" @create="create" @del="del"/> @compare="compare" @checkout="checkout" @create="create" @del="del"/>