Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ant-design-pro-vue
Overview
Overview
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
tianzhuanghu
ant-design-pro-vue
Commits
e107eeb2
Commit
e107eeb2
authored
Mar 13, 2019
by
kokoroli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:remove arguments #124
parent
ee0fce5f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
TableList.vue
src/views/list/TableList.vue
+1
-1
List.vue
src/views/list/table/List.vue
+1
-1
No files found.
src/views/list/TableList.vue
View file @
e107eeb2
...
@@ -31,7 +31,7 @@ export default {
...
@@ -31,7 +31,7 @@ export default {
},
},
methods
:
{
methods
:
{
handleEdit
(
record
)
{
handleEdit
(
record
)
{
this
.
record
=
record
this
.
record
=
record
||
''
this
.
currentComponet
=
'Edit'
this
.
currentComponet
=
'Edit'
console
.
log
(
record
)
console
.
log
(
record
)
},
},
...
...
src/views/list/table/List.vue
View file @
e107eeb2
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</div>
</div>
<div
class=
"table-operator"
>
<div
class=
"table-operator"
>
<a-button
type=
"primary"
icon=
"plus"
@
click=
"handleEdit(
record
)"
>
新建
</a-button>
<a-button
type=
"primary"
icon=
"plus"
@
click=
"handleEdit()"
>
新建
</a-button>
<a-button
type=
"dashed"
@
click=
"tableOption"
>
{{ optionAlertShow
&&
'关闭' || '开启' }} alert
</a-button>
<a-button
type=
"dashed"
@
click=
"tableOption"
>
{{ optionAlertShow
&&
'关闭' || '开启' }} alert
</a-button>
<a-dropdown
v-action:edit
v-if=
"selectedRowKeys.length > 0"
>
<a-dropdown
v-action:edit
v-if=
"selectedRowKeys.length > 0"
>
<a-menu
slot=
"overlay"
>
<a-menu
slot=
"overlay"
>
...
...
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