From c557b22f2ed74cdd17792314e0ebf189d59ff721 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Fri, 17 Mar 2023 19:15:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E8=84=91=E5=9B=BE=E6=93=8D=E4=BD=9C=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1019436 --user=宋昌昌 【测试跟踪】github#19495用户角色没有分配删除测试用例的权限,在列表模式用户没有删除按钮,但是在脑图模式下,该用户还是可以删除测试用例 https://www.tapd.cn/55049933/s/1352478 --- .../frontend/src/business/common/minder/TestCaseMinder.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test-track/frontend/src/business/common/minder/TestCaseMinder.vue b/test-track/frontend/src/business/common/minder/TestCaseMinder.vue index f01f6661aa..35aad8417f 100644 --- a/test-track/frontend/src/business/common/minder/TestCaseMinder.vue +++ b/test-track/frontend/src/business/common/minder/TestCaseMinder.vue @@ -289,6 +289,9 @@ export default { } }, setIsChange(isChanged) { + if (this.disabled) { + return; + } useStore().$patch({ isTestCaseMinderChanged: isChanged });