This commit is contained in:
2024-01-05 17:03:15 +08:00
parent fbb19ddc79
commit 39dea4deaf

View File

@ -13,6 +13,8 @@ const store = new Vuex.Store({
}, },
mutations: { mutations: {
scoket(state) { scoket(state) {
uni.closeSocket();
clearInterval(state.timeoutObj);
state.SOCKETURL = socketurl + uni.getStorageSync('patientId') state.SOCKETURL = socketurl + uni.getStorageSync('patientId')
state.socketOpen = false state.socketOpen = false
try { try {