From b77a08b70d8fc45ce700d8fc86e53503e9a8ec05 Mon Sep 17 00:00:00 2001 From: whyczyk <525500596@qq.com> Date: 星期五, 08 十月 2021 11:05:32 +0800 Subject: [PATCH] 跳转及socket封装提交 --- src/main.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index f07d449..b16e8dd 100644 --- a/src/main.js +++ b/src/main.js @@ -15,6 +15,9 @@ import 'vue-layer/lib/vue-layer.css'; Vue.prototype.$layer = layer(Vue); +import * as socket from '@/assets/js/socket' +Vue.prototype.$socket = socket + Vue.prototype.$axios = axios; Vue.use(ElementUI, { -- Gitblit v1.9.1