Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mould-vuecli3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
lhfe
mould-vuecli3
Commits
7529dfc9
Commit
7529dfc9
authored
Aug 29, 2020
by
lipengcheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一些优化
parent
2e6fd5ed
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
4 deletions
+17
-4
.eslintrc.js
.eslintrc.js
+8
-1
index.vue
src/components/header/index.vue
+3
-1
default.vue
src/components/layout/default.vue
+2
-1
home.vue
src/views/home.vue
+4
-1
No files found.
.eslintrc.js
View file @
7529dfc9
...
@@ -39,7 +39,7 @@ module.exports = {
...
@@ -39,7 +39,7 @@ module.exports = {
// "prettier/prettier": "warn",
// "prettier/prettier": "warn",
// "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
// "no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
'no-console'
:
[
0
,
{
llow
:
[
'warn'
,
'error'
]
}],
'no-console'
:
[
0
,
{
llow
:
[
'warn'
,
'error'
]
}],
'no-debugger'
:
process
.
env
.
NODE_ENV
===
'production'
?
'
warn
'
:
'off'
,
'no-debugger'
:
process
.
env
.
NODE_ENV
===
'production'
?
'
error
'
:
'off'
,
indent
:
[
indent
:
[
'error'
,
'error'
,
4
,
4
,
...
@@ -73,6 +73,13 @@ module.exports = {
...
@@ -73,6 +73,13 @@ module.exports = {
svg
:
'never'
,
svg
:
'never'
,
math
:
'always'
math
:
'always'
}
}
],
'vue/html-closing-bracket-newline'
:
[
'error'
,
{
singleline
:
'never'
,
multiline
:
'never'
}
]
]
}
}
}
}
src/components/header/index.vue
View file @
7529dfc9
...
@@ -5,7 +5,9 @@
...
@@ -5,7 +5,9 @@
当前的宝
当前的宝
</div>
</div>
<tip-panel></tip-panel>
<tip-panel></tip-panel>
<div
class=
"show-modal"
@
click=
"showModal"
>
<div
class=
"show-modal"
@
click=
"showModal"
>
show-modal
show-modal
</div>
</div>
</div>
</div>
...
...
src/components/layout/default.vue
View file @
7529dfc9
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
<common-header></common-header>
<common-header></common-header>
<body
class=
"body-container"
>
<body
class=
"body-container"
>
<side-nav></side-nav>
<side-nav></side-nav>
<router-view
style=
"flex:1;border: 1px solid #666;"
>
</router-view>
<router-view
style=
"flex:1;border: 1px solid #666;"
>
</router-view>
<right-panel></right-panel>
<right-panel></right-panel>
</body>
</body>
</div>
</div>
...
...
src/views/home.vue
View file @
7529dfc9
<
template
>
<
template
>
<div
class=
"comp-bao2"
>
<div
class=
"comp-bao2"
>
<h1>
home
</h1>
<h1>
home
</h1>
<div
a=
"dfsfsdfdsfsfsdfsdfsdfsdfsfsdf"
b=
"dfsfsdfdsfsfsdfsdfsdfsdfsfsdf"
c=
"dfsfsdfdsfsfsdfsdfsdfsdfsfsdf"
>
<div
a=
"dfsfsdfdsfsdffsdfsdfsdfsdfsfsdf"
b=
"dfsfsdfdsfsfsdfsdfsdfsdfsfsdf"
c=
"dfsfsdfdsfsfsdfsddfsdfsdfsfsdf"
>
df
df
</div>
</div>
</div>
</div>
...
...
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