fix(测试跟踪): 脑图操作权限

--bug=1019436 --user=宋昌昌 【测试跟踪】github#19495用户角色没有分配删除测试用例的权限,在列表模式用户没有删除按钮,但是在脑图模式下,该用户还是可以删除测试用例 https://www.tapd.cn/55049933/s/1352478
This commit is contained in:
song-cc-rock 2023-03-17 19:15:14 +08:00 committed by jianxing
parent 7ce815204d
commit 5391cc50bb
1 changed files with 3 additions and 0 deletions

View File

@ -289,6 +289,9 @@ export default {
}
},
setIsChange(isChanged) {
if (this.disabled) {
return;
}
useStore().$patch({
isTestCaseMinderChanged: isChanged
});