bb6ca1ce by renchao@pashanhoo.com

style:权限修改

1 parent ab1bccb8
......@@ -6,14 +6,12 @@
<h4>不动产登记上报系统</h4>
</div>
<div class="right-menu">
<el-dropdown class="avatar-container right-menu-item hover-effect" trigger="hover">
<div class="user">
{{ userName }}
<span @click="onCancel">
<i class="el-icon-switch-button"></i>
</span>
</div>
</el-dropdown>
</div>
</div>
</div>
......
......@@ -2,7 +2,7 @@
* @Author: yangwei
* @Date: 2023-01-16 09:10:12
* @LastEditors: Please set LastEditors
* @LastEditTime: 2023-03-23 15:15:02
* @LastEditTime: 2023-03-27 16:54:34
* @FilePath: \bdcjg-web\src\main.js
* @Description:
*
......@@ -19,7 +19,6 @@ import mixin from '@/utils/mixin/theme.js'
import axios from 'axios'
import dataV from '@jiaminghi/data-view';
import * as echarts from "echarts"
import { startLoadingAddCount, endLoadingSubCount } from './utils/requestLoading'
Vue.mixin(mixin)
import './directive/vxe-table'
......@@ -68,4 +67,5 @@ axios.get("./config.json")
store,
render: h => h(App)
})
window.document.documentElement.setAttribute("data-theme", 'blue');
})
\ No newline at end of file
......
......@@ -20,9 +20,7 @@ router.beforeEach(async (to, from, next) => {
localStorage.removeItem("token");
next();
} else {
setTimeout(() => {
window.document.documentElement.setAttribute("data-theme", 'blue');
}, 20)
let code = Vue.prototype.BASE_API.CODE
//判断token是否存在
const hasToken = localStorage.getItem("token");
......