fix(项目管理): 组织模板是否启用判断有误
--bug=1039530 --user=宋昌昌 【系统设置】项目-模版-新创建组织没有项目的情况下提示已开启项目模版,建议优化 https://www.tapd.cn/55049933/s/1500776
This commit is contained in:
parent
00ea63c395
commit
7cd89a8c06
|
@ -127,8 +127,8 @@
|
||||||
// 先判断项目是否是开启
|
// 先判断项目是否是开启
|
||||||
const isEnableProject = computed(() => {
|
const isEnableProject = computed(() => {
|
||||||
return props.mode === 'organization'
|
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[]>([
|
const moreActions = ref<ActionsItem[]>([
|
||||||
|
|
Loading…
Reference in New Issue