in src/routes/System/AppAuth/AddTable.js [53:75]
title: getIntlContent("SHENYU.COMMON.OPERAT"),
dataIndex: 'operation',
render: (text, record) =>
this.state.allData.length > 1 ? (
<Popconfirm title={getIntlContent("SHENYU.COMMON.DELETE")} onConfirm={() => this.handleDelete(record.path)}>
<a>{getIntlContent("SHENYU.COMMON.DELETE.NAME")}</a>
</Popconfirm>
) : null,
},
];
this.state = {
tableInput: [],
allData: [],
newSelectInput: [],
pathTableVisible: true,
};
}
// 下拉框事件
handleChange = (value) => {
this.props.form.setFieldsValue({ appName: value });
this.setState({
allData: (this.props.metaGroup[value] === undefined || this.props.metaGroup[value] === null) ? [{