Restrict app edit page values.

This commit is contained in:
Yang Luo
2021-07-10 01:19:31 +08:00
parent 59ac7d6317
commit 89b9f73b32
3 changed files with 67 additions and 34 deletions

View File

@ -99,6 +99,10 @@ class SignupTable extends React.Component {
key: 'visible',
width: '120px',
render: (text, record, index) => {
if (record.name === "ID") {
return null;
}
return (
<Switch checked={text} onChange={checked => {
this.updateField(table, index, 'visible', checked);
@ -134,6 +138,10 @@ class SignupTable extends React.Component {
key: 'prompted',
width: '120px',
render: (text, record, index) => {
if (record.name === "ID") {
return null;
}
if (record.visible) {
return null;
}