style:权限修改
Showing
3 changed files
with
3 additions
and
7 deletions
... | @@ -6,14 +6,12 @@ | ... | @@ -6,14 +6,12 @@ |
6 | <h4>不动产登记上报系统</h4> | 6 | <h4>不动产登记上报系统</h4> |
7 | </div> | 7 | </div> |
8 | <div class="right-menu"> | 8 | <div class="right-menu"> |
9 | <el-dropdown class="avatar-container right-menu-item hover-effect" trigger="hover"> | ||
10 | <div class="user"> | 9 | <div class="user"> |
11 | {{ userName }} | 10 | {{ userName }} |
12 | <span @click="onCancel"> | 11 | <span @click="onCancel"> |
13 | <i class="el-icon-switch-button"></i> | 12 | <i class="el-icon-switch-button"></i> |
14 | </span> | 13 | </span> |
15 | </div> | 14 | </div> |
16 | </el-dropdown> | ||
17 | </div> | 15 | </div> |
18 | </div> | 16 | </div> |
19 | </div> | 17 | </div> | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | * @Author: yangwei | 2 | * @Author: yangwei |
3 | * @Date: 2023-01-16 09:10:12 | 3 | * @Date: 2023-01-16 09:10:12 |
4 | * @LastEditors: Please set LastEditors | 4 | * @LastEditors: Please set LastEditors |
5 | * @LastEditTime: 2023-03-23 15:15:02 | 5 | * @LastEditTime: 2023-03-27 16:54:34 |
6 | * @FilePath: \bdcjg-web\src\main.js | 6 | * @FilePath: \bdcjg-web\src\main.js |
7 | * @Description: | 7 | * @Description: |
8 | * | 8 | * |
... | @@ -19,7 +19,6 @@ import mixin from '@/utils/mixin/theme.js' | ... | @@ -19,7 +19,6 @@ import mixin from '@/utils/mixin/theme.js' |
19 | import axios from 'axios' | 19 | import axios from 'axios' |
20 | import dataV from '@jiaminghi/data-view'; | 20 | import dataV from '@jiaminghi/data-view'; |
21 | import * as echarts from "echarts" | 21 | import * as echarts from "echarts" |
22 | |||
23 | import { startLoadingAddCount, endLoadingSubCount } from './utils/requestLoading' | 22 | import { startLoadingAddCount, endLoadingSubCount } from './utils/requestLoading' |
24 | Vue.mixin(mixin) | 23 | Vue.mixin(mixin) |
25 | import './directive/vxe-table' | 24 | import './directive/vxe-table' |
... | @@ -68,4 +67,5 @@ axios.get("./config.json") | ... | @@ -68,4 +67,5 @@ axios.get("./config.json") |
68 | store, | 67 | store, |
69 | render: h => h(App) | 68 | render: h => h(App) |
70 | }) | 69 | }) |
70 | window.document.documentElement.setAttribute("data-theme", 'blue'); | ||
71 | }) | 71 | }) |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -20,9 +20,7 @@ router.beforeEach(async (to, from, next) => { | ... | @@ -20,9 +20,7 @@ router.beforeEach(async (to, from, next) => { |
20 | localStorage.removeItem("token"); | 20 | localStorage.removeItem("token"); |
21 | next(); | 21 | next(); |
22 | } else { | 22 | } else { |
23 | setTimeout(() => { | 23 | |
24 | window.document.documentElement.setAttribute("data-theme", 'blue'); | ||
25 | }, 20) | ||
26 | let code = Vue.prototype.BASE_API.CODE | 24 | let code = Vue.prototype.BASE_API.CODE |
27 | //判断token是否存在 | 25 | //判断token是否存在 |
28 | const hasToken = localStorage.getItem("token"); | 26 | const hasToken = localStorage.getItem("token"); | ... | ... |
-
Please register or sign in to post a comment