优化小票打印

This commit is contained in:
gyq
2024-07-31 18:14:23 +08:00
parent 49cabfed21
commit f393299f0f
11 changed files with 88 additions and 161 deletions

View File

@@ -49,8 +49,6 @@ import more from '@/components/more.vue'
import callNumber from './callNumber.vue'
import work from '@/views/work/index.vue'
const emits = defineEmits(['connectWsHandle'])
const socketStore = useSocket()
const route = useRoute()
@@ -108,7 +106,7 @@ function openCall() {
// 手动重新连接ws
function connectWsHandle() {
if (socketStore.online) return
emits('connectWsHandle')
window.onload()
}
defineExpose({