作者:xkxk22 | 来源:互联网 | 2023-10-10 10:48
exportdefaultclassUserComponentextendsReact.Component{constructor(props){super(props);this
export default class UserComponent extends React.Component {
constructor(props) {
super(props);
this.state = {
columns: [
{
type: 'selection'
},
{
label: "ID",
prop: "uid",
width: 150
},
{
label: "姓名",
prop: "username",
width: 160
},
{
label: "地址",
prop: "cellphone"
}, {
label: "操作",
width: 120,
fixed: 'right',
render: (row, column, index)=>{
return