Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
ant-admin-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 6e0c9add
authored
2018-01-24 15:59:19 +0800
by
ethanlamzs
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
定义按钮事件
1 parent
f89d8610
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
src/routes/devutil/schoolmgr.js
src/routes/devutil/schoolmgr.js
View file @
6e0c9ad
...
...
@@ -122,13 +122,18 @@ export default class schoolmgr extends Component{
console
.
log
(
'onCheck'
,
checkedKeys
);
this
.
setState
({
checkedKeys
});
}
//根据当前选择的对象,删除指定的联系人
removelkman
=
()
=>
{
console
.
log
(
'removelkman'
);
}
//定义特殊操作的按钮流程
specopation
=
(
action
)
=>
{
console
.
log
(
'specatcion'
+
action
);
}
render
(){
...
...
@@ -187,9 +192,11 @@ export default class schoolmgr extends Component{
<
ChartCard
bordered
=
{
false
}
title
=
'操作/功能区'
contentHeight
=
{
4
6
}
>
contentHeight
=
{
8
6
}
>
<
div
>
<
Button
style
=
{{
marginLeft
:
8
}}
onClick
=
{
this
.
removelkman
}
>
删除联系人
<
/Button
>
<
Button
style
=
{{
marginLeft
:
8
}}
onClick
=
{()
=>
this
.
specopation
(
1
)}
>
头像强刷
<
/Button
>
<
Button
style
=
{{
marginLeft
:
8
}}
onClick
=
{()
=>
this
.
specopation
(
2
)}
>
通讯录强刷
<
/Button
>
<
/div
>
<
/ChartCard
>
<
/div
>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment