This commit is contained in:
wangdongbo 2026-06-11 18:13:53 +08:00
commit 2f317e2960
2 changed files with 4 additions and 3 deletions

View File

@ -83,7 +83,8 @@ const consultItems = ref([
]); ]);
const hideMenus = computed(() => { const hideMenus = computed(() => {
const result = {}; const result = {};
if (!props.team || !props.team.creator) { //
if (!(props.team && props.team.createSource === 'yzs')) {
result.chat = true; result.chat = true;
} }
return result; return result;
@ -92,7 +93,7 @@ const hideMenus = computed(() => {
function handleItemClick(item) { function handleItemClick(item) {
// //
if (item.needSelectConsultant) { if (item.needSelectConsultant) {
if (!props.team || !props.team.creator) { if (!(props.team && props.team.createSource === 'yzs')) {
return toast('该团队暂未开放咨询服务') return toast('该团队暂未开放咨询服务')
} }

View File

@ -146,7 +146,7 @@ const hasHealthTemp = computed(
() => () =>
qrcode.value && qrcode.value &&
Array.isArray(qrcode.value.healthTempList) && Array.isArray(qrcode.value.healthTempList) &&
qrcode.value.healthTempList.length > 0 qrcode.value.healthTempList.filter(i => i && i.enable).length > 0
); );
const baseInfo = computed(() => const baseInfo = computed(() =>
qrcode.value && qrcode.value &&