@ -106,9 +106,6 @@ class DeviceInstall extends React.Component {
}),
};
componentDidMount() {
this.fetch();
}
@ -110,7 +110,7 @@ class GroupInstall extends React.Component {
))}
</Select>
<div style={{paddingTop:10, textAlign:"right"}}>
<Button htmlType="button" type="primary" onClick={this.install}>Install</Button>
<Button disabled={value.length===0} htmlType="button" type="primary" onClick={this.install}>Install</Button>
</div>
);
@ -110,7 +110,7 @@ class RoleInstall extends React.Component {
@ -86,7 +86,6 @@ class UserInstall extends React.Component {
render() {
const {fetching, data, value} = this.state;
return (
@ -110,7 +109,7 @@ class UserInstall extends React.Component {
<div style={{paddingTop: 10, textAlign: "right"}}>