Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
teaching_admin
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
huanglu
teaching_admin
Commits
2b2bbe2a
Commit
2b2bbe2a
authored
Sep 09, 2020
by
bobo826
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 项目搭建第一次提交
parent
3b739d89
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
17 deletions
+17
-17
.eslintrc.js
.eslintrc.js
+2
-1
package-lock.json
package-lock.json
+0
-0
package.json
package.json
+1
-2
App.vue
src/App.vue
+6
-7
index.vue
src/components/Header/index.vue
+7
-6
index.js
src/components/index.js
+1
-1
No files found.
.eslintrc.js
View file @
2b2bbe2a
...
...
@@ -32,6 +32,7 @@ module.exports = {
'eol-last'
:
0
,
'object-curly-spacing'
:
0
,
'padded-blocks'
:
0
,
'no-trailing-spaces'
:
0
'no-trailing-spaces'
:
0
,
'linebreak-style'
:
[
0
,
'error'
,
'window'
]
},
};
package-lock.json
View file @
2b2bbe2a
This source diff could not be displayed because it is too large. You can
view the blob
instead.
package.json
View file @
2b2bbe2a
...
...
@@ -56,4 +56,4 @@
},
"description"
:
"教学管理项目"
,
"author"
:
"黄露"
}
\ No newline at end of file
}
src/App.vue
View file @
2b2bbe2a
...
...
@@ -10,8 +10,8 @@
<
script
>
import
{
mapMutations
}
from
'vuex'
;
import
{
login
,
userinfo
}
from
'@/api'
;
import
{
mapMutations
}
from
'vuex'
import
{
login
,
userinfo
}
from
'@/api'
import
{
GkHeader
}
from
'@/components'
export
default
{
...
...
@@ -24,18 +24,17 @@ export default {
GkHeader
},
mounted
()
{
login
(
'huanglu'
,
'123'
).
then
((
res
)
=>
{
console
.
log
(
res
);
})
;
})
userinfo
({
id
:
'2424'
}).
then
((
res
)
=>
{
console
.
log
(
'userinfo ----> '
,
res
);
})
;
})
},
methods
:
{
...
mapMutations
([
'changeName'
]),
}
,
}
;
}
}
</
script
>
<
style
lang=
"scss"
>
...
...
src/components/Header/index.vue
View file @
2b2bbe2a
...
...
@@ -16,10 +16,10 @@ export default {
}
</
script
>
<
style
lang=
'scss'
scoped
>
.gk-header
{
display
:
flex
;
flex-flow
:
row
;
align-items
:
center
;
background
:
#1438ED
;
}
.gk-header
{
display
:
flex
;
flex-flow
:
row
;
align-items
:
center
;
background
:
#1438ED
;
}
</
style
>
\ No newline at end of file
src/components/index.js
View file @
2b2bbe2a
import
HelloWorld
from
'./hello-world'
;
import
GkHeader
from
'./
h
eader'
;
import
GkHeader
from
'./
H
eader'
;
export
{
HelloWorld
,
GkHeader
};
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