fix:【mall】客服的对话未选中时,不进行数据加载

pull/839/head
YunaiV 2025-12-07 18:25:48 +08:00
parent 5fd5418f6b
commit 3d07ebcbe8
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@ const tabActivation = computed(() => (tab: string) => activeTab.value === tab)
const productBrowsingHistoryRef = ref<InstanceType<typeof ProductBrowsingHistory>>()
const orderBrowsingHistoryRef = ref<InstanceType<typeof OrderBrowsingHistory>>()
const handleClick = async (tab: string) => {
if (isEmpty(conversation)) {
return
}
activeTab.value = tab
await nextTick()
await getHistoryList()