Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
project_progress
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 45c15e59
authored
Jun 13, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限名称以及刷新页面修改
1 parent
c8f6a34b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
src/utils/leftBarRules.js
src/views/layout/index.vue
src/views/layout/mainLayout.vue
src/utils/leftBarRules.js
View file @
45c15e5
...
...
@@ -426,7 +426,7 @@ export function trendsRules(type) {
}
}
export
function
defaultRouter
()
{
sessionStorage
.
setItem
(
"author"
,
"sg
ti
g_weizheng"
);
sessionStorage
.
setItem
(
"author"
,
"sg
it
g_weizheng"
);
sessionStorage
.
setItem
(
"authorName"
,
99
);
let
type
=
sessionStorage
.
getItem
(
'authorName'
)
console
.
log
(
type
,
'hahaha '
)
...
...
src/views/layout/index.vue
View file @
45c15e5
...
...
@@ -103,6 +103,10 @@ export default {
};
},
mounted
(){
if
(
this
.
$route
.
path
==
'/analysisCore'
){
this
.
active
=
6
}
// this.$router.push({ path:" /mainLayout" });
},
methods
:{
...
...
src/views/layout/mainLayout.vue
View file @
45c15e5
...
...
@@ -139,7 +139,7 @@ export default {
children
:
[
{
name
:
"魏征"
,
code
:
"sg
ti
g_weizheng"
,
code
:
"sg
it
g_weizheng"
,
children
:
[],
},
],
...
...
@@ -154,10 +154,7 @@ export default {
},
mounted
()
{
//进页面默认权限 直接配置刷新一直是这个了
// this.authority =99;
// this.autho="sgtig_weizheng"
},
methods
:
{
handleResize
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment