no message
This commit is contained in:
@@ -3,13 +3,8 @@ import Confirm from './components/index'
|
||||
class App extends React.Component {
|
||||
del(){
|
||||
Confirm("确定要删除吗?",[
|
||||
{text:"cancel",onpress:()=>{
|
||||
console.log("点击了取消按钮")
|
||||
}},{
|
||||
text:"sure",onpress:()=>{
|
||||
console.log("点击了确定按钮!")
|
||||
}
|
||||
}
|
||||
{text:"cancel",onpress:()=>{ console.log("点击了取消按钮")}},
|
||||
{text:"sure",onpress:()=>{console.log("点击了确定按钮!")}}
|
||||
])
|
||||
}
|
||||
render(){
|
||||
|
||||
Reference in New Issue
Block a user