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 443a13658e
commit 541770cb41
1 changed files with 1 additions and 0 deletions

View File

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