From ff9af535a162883f5db72f69c92304a9cd37ef16 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期五, 31 三月 2023 09:28:32 +0800 Subject: [PATCH] 修改前端页面 --- src/main.js | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index 18a59d1..e2fd6b2 100644 --- a/src/main.js +++ b/src/main.js @@ -14,6 +14,8 @@ import StringUtil from './assets/js/StringUtil' import TscPrintUtil from './assets/js/TscPrintUtil' import Print from './assets/js/print' +import moment from 'moment' +Vue.prototype.$moment = moment; Vue.use(Print) // 娉ㄥ唽 import ViewUI from 'view-design'; @@ -27,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搴忓垪鍖�,鍙兘瀛樺湪闂,鏆傛椂鏈彂鐜颁粈涔堥棶棰� @@ -44,7 +58,7 @@ Vue.prototype.$systemconfig = { // 鏈嶅姟绔矾寰� basePath: 'http://183.196.93.178:8089', - //basePath:'http://localhost:8088' + //basePath:'http://127.0.0.1:8089' } Vue.prototype.$byutil = byUtils Vue.prototype.$stringUtil = StringUtil -- Gitblit v1.9.1