From a4a6032a323343837d3cfe86dd8f8cca1260d759 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期日, 28 四月 2024 17:04:31 +0800
Subject: [PATCH] 点位完善
---
src/main.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main.js b/src/main.js
index 7944e09..7baf4cc 100644
--- a/src/main.js
+++ b/src/main.js
@@ -58,6 +58,7 @@
Vue.prototype.download = download
Vue.prototype.handleTree = handleTree
Vue.prototype.getToken = getToken
+Vue.prototype.$uploadUrl = process.env.VUE_APP_BASE_API + "/common/upload"
// 鍏ㄥ眬缁勪欢鎸傝浇
Vue.component('DictTag', DictTag)
@@ -75,6 +76,9 @@
Vue.use(dataV)
DictData.install()
+// websocket
+Vue.prototype.$websocket = null;
+
/**
* If you don't want to use mock-server
* you want to use MockJs for mock api
--
Gitblit v1.8.0