fix: 返回数据处加上预览功能

This commit is contained in:
gaoxiaolin.gao 2018-03-28 11:56:04 +08:00
parent 0a54eac409
commit fa23d84002
7 changed files with 327 additions and 404 deletions

View File

@ -128,7 +128,7 @@ class ModalPostman extends Component {
handleConstantsInput = (val) => {
val = val.replace(/^\{\{(.+)\}\}$/g, '$1');
console.log('val', val);
this.setState({
constantInput: val
})

View File

@ -53,7 +53,7 @@ class Login extends Component {
form.validateFields((err, values) => {
if (!err) {
if (this.props.isLDAP && this.state.loginType === 'ldap') {
console.log('ldap');
this.props.loginLdapActions(values).then((res) => {
if (res.payload.data.errcode == 0) {
this.props.history.replace('/group');

View File

@ -52,7 +52,7 @@ class NewsList extends Component {
const that = this;
this.props.setLoading(true);
this.props.fetchNewsData(+this.props.uid,0,5).then(function(data){
console.log(data.data);
that.props.setLoading(false);
})
}

View File

@ -457,7 +457,6 @@ class InterfaceColContent extends Component {
copyUrl =(url) =>{
console.log('url',url);
copy(url)
message.success('已经成功复制到剪切板');
}

View File

@ -107,7 +107,7 @@ function postman(importDataModule){
interfaceData.apis.push(data);
}
}
console.log(interfaceData)
return interfaceData;
}catch(e){

View File

@ -114,7 +114,7 @@ function postman(importDataModule){
interfaceData.apis.push(data);
}
}
console.log(interfaceData)
return interfaceData;
}catch(e){