|
|
@@ -157,7 +157,6 @@ class CloudConfig extends Component {
|
|
|
</Panel>
|
|
|
<Panel header="我该如何获得这项配置?" key="2" style={customPanelStyle}>
|
|
|
<p>腾讯云请到:<a href="https://console.cloud.tencent.com/cam/capi" rel="noopener noreferrer" target='_blank'>腾讯云API</a></p>
|
|
|
- <p>阿里云请到:<a href="https://console.cloud.tencent.com/cam/capi" rel="noopener noreferrer" target='_blank'>阿里云API</a></p>
|
|
|
<p>其他云请联系我们</p>
|
|
|
</Panel>
|
|
|
</Collapse>
|
|
|
@@ -202,31 +201,34 @@ class CloudConfig extends Component {
|
|
|
<div>
|
|
|
<span className='cloud-name'><FormattedMessage id="Aliyun"/>: </span>
|
|
|
<div style={{marginBottom: 15}}>
|
|
|
- <div>
|
|
|
- <div style={{marginBottom: 10}}>
|
|
|
- <span className='item-title-cloud'>ID:</span>
|
|
|
- <Input style={{width: 250}} value={aliID} placeholder={'不保存默认使用 ioobot 账户'} onChange={this.inputChange('aliID')}/>
|
|
|
- </div>
|
|
|
- <div style={{marginBottom: 10}}>
|
|
|
- <span className='item-title-cloud'>Key:</span>
|
|
|
- <Input style={{width: 250}} value={aliKey} placeholder={'不保存默认使用 ioobot 账户'} onChange={this.inputChange('aliKey')}/>
|
|
|
- </div>
|
|
|
-
|
|
|
- {
|
|
|
- showOK === 'aliyun' ?
|
|
|
- <Icon type="check-circle" theme="twoTone" twoToneColor="#52c41a"/>
|
|
|
- :
|
|
|
- showNotOK === 'aliyun' ?
|
|
|
- <span>not ok</span>
|
|
|
- :
|
|
|
- ""
|
|
|
- }
|
|
|
- </div>
|
|
|
- <Button type='primary'
|
|
|
- onClick={this.submit(aliyunCLoudID, 'aliyun', aliID, aliKey, aliAppID)}>
|
|
|
- <FormattedMessage id="save"/>
|
|
|
- </Button>
|
|
|
+ 如需使用请联系我们
|
|
|
</div>
|
|
|
+ {/*<div style={{marginBottom: 15}}>*/}
|
|
|
+ {/*<div>*/}
|
|
|
+ {/*<div style={{marginBottom: 10}}>*/}
|
|
|
+ {/*<span className='item-title-cloud'>ID:</span>*/}
|
|
|
+ {/*<Input style={{width: 250}} value={aliID} placeholder={'不保存默认使用 ioobot 账户'} onChange={this.inputChange('aliID')}/>*/}
|
|
|
+ {/*</div>*/}
|
|
|
+ {/*<div style={{marginBottom: 10}}>*/}
|
|
|
+ {/*<span className='item-title-cloud'>Key:</span>*/}
|
|
|
+ {/*<Input style={{width: 250}} value={aliKey} placeholder={'不保存默认使用 ioobot 账户'} onChange={this.inputChange('aliKey')}/>*/}
|
|
|
+ {/*</div>*/}
|
|
|
+
|
|
|
+ {/*{*/}
|
|
|
+ {/*showOK === 'aliyun' ?*/}
|
|
|
+ {/*<Icon type="check-circle" theme="twoTone" twoToneColor="#52c41a"/>*/}
|
|
|
+ {/*:*/}
|
|
|
+ {/*showNotOK === 'aliyun' ?*/}
|
|
|
+ {/*<span>not ok</span>*/}
|
|
|
+ {/*:*/}
|
|
|
+ {/*""*/}
|
|
|
+ {/*}*/}
|
|
|
+ {/*</div>*/}
|
|
|
+ {/*<Button type='primary'*/}
|
|
|
+ {/*onClick={this.submit(aliyunCLoudID, 'aliyun', aliID, aliKey, aliAppID)}>*/}
|
|
|
+ {/*<FormattedMessage id="save"/>*/}
|
|
|
+ {/*</Button>*/}
|
|
|
+ {/*</div>*/}
|
|
|
</div> : ''
|
|
|
}
|
|
|
{
|