From 9ba1743900bba33cba2f097afb3742d91801ab09 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Tue, 10 Aug 2021 15:02:46 +0800 Subject: [PATCH] split mobile mixin from socket mixin --- src/layouts/Layout.vue | 22 +++++++++++++++++++--- src/main.js | 4 +++- src/mixins/mobile.js | 25 +++++++++++++++++++++++++ src/mixins/socket.js | 9 --------- 4 files changed, 47 insertions(+), 13 deletions(-) create mode 100644 src/mixins/mobile.js diff --git a/src/layouts/Layout.vue b/src/layouts/Layout.vue index 93ad065bc..d63f209f1 100644 --- a/src/layouts/Layout.vue +++ b/src/layouts/Layout.vue @@ -1,5 +1,5 @@