ab1bccb8 by renchao@pashanhoo.com

chore:配置修改

1 parent 89d12179
{
"TITLE": "汉中市数据上报系统",
"THEME": "sb",
"CODE": "BDCJGPT",
"CODE": "BDCSBPT",
"SERVERAPI": "/bdcsjsb",
"calcHeight": 160,
"MANAGEMENTAPI": "http://192.168.2.38:8090/management"
......
......@@ -20,7 +20,9 @@ router.beforeEach(async (to, from, next) => {
localStorage.removeItem("token");
next();
} else {
window.document.documentElement.setAttribute("data-theme", 'blue');
setTimeout(() => {
window.document.documentElement.setAttribute("data-theme", 'blue');
}, 20)
let code = Vue.prototype.BASE_API.CODE
//判断token是否存在
const hasToken = localStorage.getItem("token");
......