fix undefined callback

pull/523/head
LouisLam 3 years ago
parent 8d5eaaf8a7
commit 3394e1f148

@ -293,6 +293,9 @@ export default {
},
getMonitorList(callback) {
if (! callback) {
callback = () => { };
}
socket.emit("getMonitorList", callback);
},

Loading…
Cancel
Save