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
0d6164c8
Commit
0d6164c8
authored
Aug 29, 2020
by
lipengcheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一些优化
parent
e1c29074
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
+7
-8
.eslintrc.js
.eslintrc.js
+2
-2
index.vue
src/components/header/index.vue
+1
-4
default.vue
src/components/layout/default.vue
+1
-2
home.vue
src/views/home.vue
+3
-0
No files found.
.eslintrc.js
View file @
0d6164c8
...
@@ -10,8 +10,8 @@ module.exports = {
...
@@ -10,8 +10,8 @@ module.exports = {
// 3: ESLint + Standard config
// 3: ESLint + Standard config
// extends: [ 'plugin:vue/essential', '@vue/airbnb',],
// extends: [ 'plugin:vue/essential', '@vue/airbnb',],
// 4. ESLint + Prettier
// 4. ESLint + Prettier
//
extends: ['plugin:vue/recommended', 'eslint:recommended', '@vue/prettier'],
extends
:
[
'plugin:vue/recommended'
,
'eslint:recommended'
,
'@vue/prettier'
],
extends
:
[
'plugin:vue/recommended'
,
'eslint:recommended'
],
//
extends: ['plugin:vue/recommended', 'eslint:recommended'],
plugins
:
[],
plugins
:
[],
parserOptions
:
{
parserOptions
:
{
parser
:
'babel-eslint'
parser
:
'babel-eslint'
...
...
src/components/header/index.vue
View file @
0d6164c8
...
@@ -5,10 +5,7 @@
...
@@ -5,10 +5,7 @@
当前的宝
当前的宝
</div>
</div>
<tip-panel></tip-panel>
<tip-panel></tip-panel>
<div
<div
class=
"show-modal"
@
click=
"showModal"
>
class=
"show-modal"
@
click=
"showModal"
>
show-modal
show-modal
</div>
</div>
</div>
</div>
...
...
src/components/layout/default.vue
View file @
0d6164c8
...
@@ -3,8 +3,7 @@
...
@@ -3,8 +3,7 @@
<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
style=
"flex:1;border: 1px solid #666;"
>
</router-view>
</router-view>
<right-panel></right-panel>
<right-panel></right-panel>
</body>
</body>
</div>
</div>
...
...
src/views/home.vue
View file @
0d6164c8
<
template
>
<
template
>
<div
class=
"comp-bao2"
>
<div
class=
"comp-bao2"
>
<h1>
home
</h1>
<h1>
home
</h1>
<div
a=
"dfsfsdfdsfsfsdfsdfsdfsdfsfsdf"
b=
"dfsfsdfdsfsfsdfsdfsdfsdfsfsdf"
>
df
</div>
</div>
</div>
</
template
>
</
template
>
...
...
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