fix(测试跟踪): 修复测试用例创建时的权限

This commit is contained in:
Captain.B 2021-05-27 17:37:55 +08:00 committed by 刘瑞斌
parent cb6179e1fc
commit 1340568ffd
1 changed files with 2 additions and 1 deletions

View File

@ -279,7 +279,8 @@
return SYSTEM_FIELD_NAME_MAP;
},
readOnly() {
return !hasPermission('PROJECT_TRACK_CASE:READ+EDIT');
return !hasPermission('PROJECT_TRACK_CASE:READ+CREATE') &&
!hasPermission('PROJECT_TRACK_CASE:READ+EDIT');
}
},
mounted() {