|
@@ -64,13 +64,6 @@ const tabContentState = ref({
|
|
|
客户推荐: true
|
|
|
})
|
|
|
|
|
|
-const canShowModule = computed(() => {
|
|
|
- const result =
|
|
|
- ContentExpandsModel.value.recommendProjects.total > 0 ||
|
|
|
- ContentExpandsModel.value.recommendBuyers.total > 0 ||
|
|
|
- ContentExpandsModel.value.recommendWinners.total > 0
|
|
|
- return result
|
|
|
-})
|
|
|
const tabContentShow = computed(() => {
|
|
|
const computedState = {
|
|
|
商机推荐:
|
|
@@ -88,7 +81,7 @@ const tabContentShow = computed(() => {
|
|
|
})
|
|
|
const tabContentHeaderList = computed(() => {
|
|
|
return contentTabs.filter((v) => {
|
|
|
- return tabContentState.value[v.label]
|
|
|
+ return tabContentShow.value[v.label]
|
|
|
})
|
|
|
})
|
|
|
|