chore: 更新依赖
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import { reactive, onMounted, toRaw, ref } from 'vue';
|
||||
import { reactive, onMounted, toRaw, ref, onUnmounted } from 'vue';
|
||||
import { PageContainer } from 'antdv-pro-layout';
|
||||
import { message, Modal } from 'ant-design-vue/lib';
|
||||
import { SizeType } from 'ant-design-vue/lib/config-provider';
|
||||
@@ -366,7 +366,6 @@ function wsMessage(res: Record<string, any>) {
|
||||
// cdrEvent CDR会话事件
|
||||
if (data.groupId === '1005') {
|
||||
const cdrEvent = data.data;
|
||||
console.log(cdrEvent);
|
||||
queue.add(async () => {
|
||||
modalState.maxId += 1;
|
||||
tableState.data.unshift({
|
||||
@@ -402,6 +401,10 @@ onMounted(() => {
|
||||
fnGetList();
|
||||
});
|
||||
});
|
||||
|
||||
onUnmounted(() => {
|
||||
ws.close();
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user