Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
sample-form-platform
Commits
9e4c6b74
Commit
9e4c6b74
authored
Aug 02, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改标题
parent
9feb2584
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
sample-form-manager-ui/admin/public/index.html
sample-form-manager-ui/admin/public/index.html
+1
-1
sample-form-manager-ui/admin/src/pages/layouts/Layouts.vue
sample-form-manager-ui/admin/src/pages/layouts/Layouts.vue
+6
-2
sample-form-manager-ui/admin/src/pages/layouts/components/Header.vue
...-manager-ui/admin/src/pages/layouts/components/Header.vue
+1
-1
No files found.
sample-form-manager-ui/admin/public/index.html
View file @
9e4c6b74
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<title><
%=
process
.
env
.
VUE_APP_sysName
%
><
/title>
<title></title>
</head>
</head>
<body>
<body>
<noscript>
<noscript>
...
...
sample-form-manager-ui/admin/src/pages/layouts/Layouts.vue
View file @
9e4c6b74
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<
script
>
<
script
>
import
Header
from
"
./components/Header.vue
"
;
import
Header
from
"
./components/Header.vue
"
;
import
{
getdeptList
}
from
"
@/api/department
"
;
import
{
getdeptList
}
from
"
@/api/department
"
;
import
{
mapMutations
}
from
"
vuex
"
;
import
{
mapMutations
,
mapState
}
from
"
vuex
"
;
import
local
from
"
@/utils/local
"
;
import
local
from
"
@/utils/local
"
;
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -38,11 +38,13 @@ export default {
...
@@ -38,11 +38,13 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
systemName
:
process
.
env
.
VUE_APP_sysName
,
portalUrl
:
process
.
env
.
VUE_APP_API_portal_URL
,
portalUrl
:
process
.
env
.
VUE_APP_API_portal_URL
,
breads
:
[],
breads
:
[],
};
};
},
},
created
()
{
created
()
{
document
.
title
=
this
.
sysName
?
this
.
sysName
:
this
.
systemName
;
// 设置项目标题
this
.
calcBreads
();
this
.
calcBreads
();
this
.
getdeptList
();
this
.
getdeptList
();
},
},
...
@@ -51,7 +53,9 @@ export default {
...
@@ -51,7 +53,9 @@ export default {
this
.
calcBreads
();
this
.
calcBreads
();
},
},
},
},
computed
:
{},
computed
:
{
...
mapState
([
"
sysName
"
]),
},
methods
:
{
methods
:
{
...
mapMutations
([
"
SET_deptList
"
]),
...
mapMutations
([
"
SET_deptList
"
]),
// 计算面包屑
// 计算面包屑
...
...
sample-form-manager-ui/admin/src/pages/layouts/components/Header.vue
View file @
9e4c6b74
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
@
click=
"handleGoHome"
@
click=
"handleGoHome"
/>
/>
<h1
class=
"title pointer"
@
click=
"handleGoHome"
>
<h1
class=
"title pointer"
@
click=
"handleGoHome"
>
{{
sysName
||
systemName
}}
{{
sysName
?
sysName
:
systemName
}}
</h1>
</h1>
<HeaderSite
class=
"mr50 ml20"
></HeaderSite>
<HeaderSite
class=
"mr50 ml20"
></HeaderSite>
<!-- 导航 -->
<!-- 导航 -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment