From ce6411be45697a38b4afca6debbd07338aab6cb8 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期一, 09 一月 2023 22:29:39 +0800 Subject: [PATCH] 修改前端页面 --- src/main.js | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index 02ca7c0..e2fd6b2 100644 --- a/src/main.js +++ b/src/main.js @@ -29,6 +29,18 @@ Vue.use(ElementUI, { size: 'small' }); + +import echarts from 'echarts' +Vue.prototype.$echarts = echarts; + +import '@/utils/lib-fiexible' + +import {getStore,setStore,removeStore} from "./libs/store"; + +Vue.prototype.getStore = getStore +Vue.prototype.setStore = setStore +Vue.prototype.removeStore = removeStore + Vue.prototype.$axios = axios; axios.defaults.withCredentials = true // 瀵规彁浜ょ殑鏁版嵁杩涜json搴忓垪鍖�,鍙兘瀛樺湪闂,鏆傛椂鏈彂鐜颁粈涔堥棶棰� -- Gitblit v1.9.1