Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
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
Administrator
web-monitor
Commits
a17c1eb2
Commit
a17c1eb2
authored
Nov 29, 2017
by
Pan
Committed by
花裤衩
Nov 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf:refine code
parent
37085484
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
index.html
index.html
+1
-1
index.vue
src/views/form/index.vue
+7
-1
No files found.
index.html
View file @
a17c1eb2
...
...
@@ -2,7 +2,7 @@
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
vue-admin
</title>
<title>
vue-admin
-template
</title>
</head>
<body>
<div
id=
"app"
></div>
...
...
src/views/form/index.vue
View file @
a17c1eb2
...
...
@@ -41,7 +41,7 @@
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
Create
</el-button>
<el-button>
Cancel
</el-button>
<el-button
@
click=
"onCancel"
>
Cancel
</el-button>
</el-form-item>
</el-form>
</div>
...
...
@@ -66,6 +66,12 @@ export default {
methods
:
{
onSubmit
()
{
this
.
$message
(
'submit!'
)
},
onCancel
()
{
this
.
$message
({
message
:
'cancel!'
,
type
:
'warning'
})
}
}
}
...
...
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