fix:【mall】客服的对话未选中时,不进行数据加载
parent
5fd5418f6b
commit
3d07ebcbe8
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue