fix(项目管理): 修复缺陷定时同步按钮不生效的缺陷

--bug=1035820 --user=王孝刚 【项目管理】项目与权限 - 项目 - 应用管理 -
用例管理,关联需求开关开启后,刷新页面,页面上的开关还是关闭状态 https://www.tapd.cn/55049933/s/1474212
This commit is contained in:
wxg0103 2024-03-13 18:35:39 +08:00 committed by Craftsman
parent 8edd1d648b
commit d6f93ca8e1
1 changed files with 4 additions and 0 deletions

View File

@ -279,6 +279,7 @@
<a-switch <a-switch
v-if="record.type === 'BUG_SYNC' && allValueMap['BUG_SYNC_SYNC_ENABLE']" v-if="record.type === 'BUG_SYNC' && allValueMap['BUG_SYNC_SYNC_ENABLE']"
v-model="allValueMap['BUG_SYNC_SYNC_ENABLE']"
checked-value="true" checked-value="true"
unchecked-value="false" unchecked-value="false"
:disabled="!hasAnyPermission(['PROJECT_APPLICATION_BUG:READ+UPDATE'])" :disabled="!hasAnyPermission(['PROJECT_APPLICATION_BUG:READ+UPDATE'])"
@ -449,6 +450,9 @@
CASE_RELATED: true, CASE_RELATED: true,
CASE_RE_REVIEW: true, CASE_RE_REVIEW: true,
PERFORMANCE_TEST_SCRIPT_REVIEWER: true, PERFORMANCE_TEST_SCRIPT_REVIEWER: true,
CASE_ENABLE: true,
BUG_SYNC_SYNC_ENABLE: false,
CASE_RELATED_CASE_ENABLE: false,
}; };
const allValueMap = ref<MenuTableConfigItem>(defaultValueMap); const allValueMap = ref<MenuTableConfigItem>(defaultValueMap);