在react項目中使用 antd-Table,實現動態表格數據修改

有時候在react項目中會遇到表格數據實時修改的的需求,話很少說,直接上代碼。 index.state.js中能夠寫 import { observable, action, toJS } from ‘mobx’;react class State { @observable data = []; @observable columns = [ { title: ‘name’, dataIndex
相關文章
相關標籤/搜索