|
|
@ -220,7 +220,6 @@ class TPIMonaco extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
componentDidUpdate(prevProps, prevState, snapshot) {
|
|
|
|
componentDidUpdate(prevProps, prevState, snapshot) {
|
|
|
|
console.log('++++++++++++++', prevState, this.state);
|
|
|
|
|
|
|
|
const { mirror_name } = this.props
|
|
|
|
const { mirror_name } = this.props
|
|
|
|
const editor_monaco = this.editor_monaco;
|
|
|
|
const editor_monaco = this.editor_monaco;
|
|
|
|
if (editor_monaco && !_.isEqual(prevProps.mirror_name, mirror_name)) {
|
|
|
|
if (editor_monaco && !_.isEqual(prevProps.mirror_name, mirror_name)) {
|
|
|
|