fix(性能测试): 修复没有编辑权限可以通过版本入口创建的问题

--bug=1018735 --user=刘瑞斌 【性能测试】只给账号查看权限,登陆后进行版本变更并新建页面显示异常 https://www.tapd.cn/55049933/s/1274816
This commit is contained in:
CaptainB 2022-10-24 17:32:48 +08:00 committed by 刘瑞斌
parent cd03392ba6
commit 2450285837
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@
ref="versionHistory" ref="versionHistory"
:version-data="versionData" :version-data="versionData"
:current-id="testId" :current-id="testId"
:is-read="isReadOnly"
@compare="compare" @checkout="checkout" @create="create" @del="del"/> @compare="compare" @checkout="checkout" @create="create" @del="del"/>
<el-button :disabled="isReadOnly" type="primary" size="small" plain @click="save" <el-button :disabled="isReadOnly" type="primary" size="small" plain @click="save"
v-permission="['PROJECT_PERFORMANCE_TEST:READ+EDIT']" v-permission="['PROJECT_PERFORMANCE_TEST:READ+EDIT']"