From 947d903af1aaa675a0d055668893d4be335e5db0 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期一, 10 七月 2023 16:17:36 +0800 Subject: [PATCH] 修改前端页面 --- src/main.js | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/main.js b/src/main.js index 1230d2b..320ac81 100644 --- a/src/main.js +++ b/src/main.js @@ -47,9 +47,7 @@ Vue.use(ViewUI); Vue.config.productionTip = false -Vue.use(ElementUI, { - size: 'small' -}); +Vue.use(ElementUI); import echarts from 'echarts' Vue.prototype.$echarts = echarts; @@ -78,13 +76,13 @@ // 閰嶇疆鏂囦欢 Vue.prototype.$systemconfig = { // 鏈嶅姟绔矾寰� - basePath: 'http://183.196.93.178:8089', - //basePath:'http://127.0.0.1:8089' + //basePath: 'http://183.196.93.178:8089', + basePath:'http://127.0.0.1:8089' } Vue.prototype.$byutil = byUtils Vue.prototype.$stringUtil = StringUtil Vue.prototype.$tscPrintUtil = TscPrintUtil -// const rolesList = JSON.parse(localStorage.getItem('userRouters')) +// const rolesList = JSON.parse(localStorage.getItem('userRouters')) //浣跨敤閽╁瓙鍑芥暟瀵硅矾鐢辫繘琛屾潈闄愯烦杞� // router.beforeEach((to, from, next) => { // let user = byUtils.getUser() @@ -95,9 +93,9 @@ // console.log(to,"瑙﹀彂浜�",router.options.routes); // // type 2 : all admin // // type 0 : 娉婅溅 id:2 -// // type 1 : 鎵ф硶 id:3 +// // type 1 : 鎵ф硶 id:3 - + // next(); // // -- Gitblit v1.9.1