Commit 1a8cb204 by lijiabin

【需求 17678】 perf: 优化

parent 221c7fbe
......@@ -143,7 +143,7 @@
class="cursor-pointer hover:text-blue-500 transition-colors"
@click="handleReply(item)"
>
回复111111111
回复
</button>
</div>
</div>
......
......@@ -27,13 +27,13 @@ import VideoList from './components/videoList.vue'
import Tabs from '@/components/common/Tabs'
const tabs = [
{ label: '推荐', value: '推荐', component: RecommendList },
{ label: '最新', value: '最新', component: RecommendList },
{ label: '推荐', value: '推荐', component: RecommendList },
{ label: '视频', value: '视频', component: VideoList },
{ label: '关爱基金', value: '关爱基金', component: null },
]
const activeTab = ref('推荐')
const activeTab = ref('最新')
const activeTabComponent = computed(() => {
return tabs.find((tab) => tab.value === activeTab.value)?.component
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment