Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
16099203
authored
2022-08-08 17:38:27 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
架构修改
1 parent
25da4210
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
12 deletions
package.json
src/layout/index.vue
src/store/modules/app.js
vue.config.js
package.json
View file @
1609920
{
"name"
:
"
js.rent
"
,
"name"
:
"
bdcdj-web
"
,
"version"
:
"4.4.0"
,
"description"
:
"HOUTAI"
,
"author"
:
"psh"
,
...
...
@@ -18,9 +18,7 @@
"normalize.css"
:
"7.0.0"
,
"nprogress"
:
"0.2.0"
,
"vue"
:
"2.6.10"
,
"vue-pdf"
:
"^4.3.0"
,
"vue-router"
:
"3.0.2"
,
"vuedraggable"
:
"2.20.0"
,
"vuex"
:
"3.1.0"
},
"devDependencies"
:
{
...
...
@@ -74,4 +72,4 @@
"type"
:
"git"
,
"url"
:
"git+https://github.com/PanJiaChen/vue-element-admin.git"
}
}
\ No newline at end of file
}
...
...
src/layout/index.vue
View file @
1609920
<
template
>
<div
:class=
"classObj"
class=
"app-wrapper"
>
<div
v-if=
"device === 'mobile' && sidebar.opened"
class=
"drawer-bg"
@
click=
"handleClickOutside"
/>
<sidebar
class=
"sidebar-container"
/>
<div
:class=
"
{ hasTagsView: needTagsView }" class="main-container">
<div
:class=
"
{ 'fixed-header': fixedHeader }">
...
...
@@ -27,7 +26,6 @@ export default {
computed
:
{
...
mapState
({
sidebar
:
state
=>
state
.
app
.
sidebar
,
device
:
state
=>
state
.
app
.
device
,
needTagsView
:
state
=>
state
.
settings
.
tagsView
,
fixedHeader
:
state
=>
state
.
settings
.
fixedHeader
}),
...
...
src/store/modules/app.js
View file @
1609920
...
...
@@ -5,8 +5,6 @@ const state = {
opened
:
Cookies
.
get
(
'sidebarStatus'
)
?
!!+
Cookies
.
get
(
'sidebarStatus'
)
:
true
,
withoutAnimation
:
false
},
device
:
'desktop'
,
// size: Cookies.get('size') || 'default'
size
:
'small'
}
...
...
@@ -25,9 +23,6 @@ const mutations = {
state
.
sidebar
.
opened
=
false
state
.
sidebar
.
withoutAnimation
=
withoutAnimation
},
TOGGLE_DEVICE
:
(
state
,
device
)
=>
{
state
.
device
=
device
},
SET_SIZE
:
(
state
,
size
)
=>
{
state
.
size
=
size
Cookies
.
set
(
'size'
,
size
)
...
...
vue.config.js
View file @
1609920
...
...
@@ -5,7 +5,7 @@ const defaultSettings = require('./src/settings.js')
function
resolve
(
dir
)
{
return
path
.
join
(
__dirname
,
dir
)
}
const
name
=
defaultSettings
.
title
||
'管理系统'
// page title
const
name
=
defaultSettings
.
title
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
8888
// dev port
// All configuration item explanations can be find in https://cli.vuejs.org/config/
...
...
Please
register
or
sign in
to post a comment