Skip to content

Commit

Permalink
#75
Browse files Browse the repository at this point in the history
  • Loading branch information
IamChuancey committed Nov 30, 2018
1 parent 6827f71 commit ad7461c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/content/ChaincodeInstallContent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ class ContractDiv extends React.Component {
const listcopy = this.props.ctodocopy;
// listcopy.push(li);
// this.props.conAddCopy(listcopy);
logger.log('listcopy: ');
logger.log(listcopy);
logger.log('todolist: ');
logger.log(this.props.ctodo);
logger.info('listcopy: ');
logger.info(listcopy);
logger.info('todolist: ');
logger.info(this.props.ctodo);
}
}

Expand Down Expand Up @@ -347,7 +347,7 @@ export default class ChaincodeInstallContent extends React.Component {
};
arr.push(doc);
}
// todolistcopy为todolist的副本,只包含所有实例化的链码的数据,作为通道切换时的原数据使用
// todolistcopy为todolist的副本,作为通道切换时的原数据使用
obj.setState({ todolist: arr });
obj.setState({ todolistcopy: arr });
// console.log('初始化的todolist: ');
Expand Down Expand Up @@ -484,7 +484,7 @@ export default class ChaincodeInstallContent extends React.Component {
}

handleSelect(value) {
logger.log('choosen channel: ' + value);
logger.info('choosen channel: ' + value);
if (value === 'allchannels') {
this.setState({ todolist: this.state.todolistcopy });
} else {
Expand Down

0 comments on commit ad7461c

Please sign in to comment.