fix(项目管理): 组织模板是否启用判断有误

--bug=1039530 --user=宋昌昌 【系统设置】项目-模版-新创建组织没有项目的情况下提示已开启项目模版,建议优化 https://www.tapd.cn/55049933/s/1500776
This commit is contained in:
song-cc-rock 2024-04-18 14:07:27 +08:00 committed by 刘瑞斌
parent 00ea63c395
commit 7cd89a8c06
1 changed files with 2 additions and 2 deletions

View File

@ -127,8 +127,8 @@
//
const isEnableProject = computed(() => {
return props.mode === 'organization'
? !templateStore.projectStatus[props.cardItem.key]
: templateStore.ordStatus[props.cardItem.key];
? templateStore.ordStatus[props.cardItem.key]
: templateStore.projectStatus[props.cardItem.key];
});
const moreActions = ref<ActionsItem[]>([