Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bims
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙海亮
bims
Commits
61e36ad6
Commit
61e36ad6
authored
3 years ago
by
yanglilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'修复系统问题'
parent
9f6e446d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
request.js
src/api/request.js
+1
-0
Header.vue
src/views/layout/components/Header.vue
+3
-3
vue.config.js
vue.config.js
+1
-1
No files found.
src/api/request.js
View file @
61e36ad6
...
...
@@ -46,6 +46,7 @@ service.interceptors.request.use(
// response 拦截器
service
.
interceptors
.
response
.
use
(
(
response
)
=>
{
that
.
$msg
.
destroy
();
//防止弹窗多次
store
.
commit
(
"
common/loadingShow
"
,
false
);
return
new
Promise
((
resolve
,
reject
)
=>
{
if
(
response
.
status
!==
200
)
{
...
...
This diff is collapsed.
Click to expand it.
src/views/layout/components/Header.vue
View file @
61e36ad6
<
template
>
<div
class=
"header"
>
<div
class=
"header
-container
"
>
<div
class=
"logo"
>
{{
title
}}
</div>
<div
class=
"user-info"
>
<p
class=
"name"
><Icon
:name=
"'ssicb'"
:size=
"24"
/>
{{
userInfo
.
name
}}
</p>
...
...
@@ -51,8 +51,8 @@ export default {
};
</
script
>
<
style
lang=
"less"
scoped
>
.header {
<
style
lang=
"less"
>
.header
-container
{
position: fixed;
width: 100%;
display: flex;
...
...
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
61e36ad6
...
...
@@ -17,7 +17,7 @@ module.exports = {
less
:
{
javascriptEnabled
:
true
,
},
}
,
}
},
chainWebpack
:
(
config
)
=>
{
if
(
process
.
env
.
NODE_ENV
===
"
production
"
)
{
...
...
This diff is collapsed.
Click to expand it.
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