fix(性能测试): 修复只有查看权限的用户可以操作同步按钮的问题

--bug=1019677 --user=刘瑞斌 【性能测试】只有性能测试查看权限,同步场景按钮可以点,点了会报错 https://www.tapd.cn/55049933/s/1296837
This commit is contained in:
CaptainB 2022-11-16 16:27:45 +08:00 committed by 刘瑞斌
parent 90e71f7e62
commit 9d74dba89a
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@
:check-open="checkScheduleEdit" :test-id="testId" :custom-validate="durationValidate"/> :check-open="checkScheduleEdit" :test-id="testId" :custom-validate="durationValidate"/>
<ms-tip-button v-if="test.isNeedUpdate" <ms-tip-button v-if="test.isNeedUpdate"
v-permission="['PROJECT_PERFORMANCE_TEST:READ+EDIT']"
class="sync-btn" type="primary" size="small" circle class="sync-btn" type="primary" size="small" circle
icon="el-icon-connection" icon="el-icon-connection"
@click="syncScenario" @click="syncScenario"