fix:【mall】客服的对话未选中时,不进行数据加载
This commit is contained in:
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…
x
Reference in New Issue
Block a user