增加行删除示例
This commit is contained in:
parent
df7cc148e2
commit
89f3baa417
|
@ -531,6 +531,9 @@ class Demo0501 extends Component {
|
||||||
<Button colors="dark" onClick={this.edit(currentIndex)}>
|
<Button colors="dark" onClick={this.edit(currentIndex)}>
|
||||||
编辑
|
编辑
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button colors="dark" onClick={this.delete(currentIndex)}>
|
||||||
|
删除
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue